Questions tagged [customization]

MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How do I add a dropdown menu to a form?

I am trying to create a dropdown list that will insert numbers based on numbers already used for that group of numbers. Example: dropdown will include numbers such as (100, 200, 300, etc) and I want ...
0
votes
0answers
6 views

How to post line_items in json file through woocommerce rest api? [closed]

class _CheckoutState extends State<Checkout> { @override Widget build(BuildContext context) { final cart = Provider.of<Cart>(context); Future<Orders>createOrder(fname,...
0
votes
0answers
10 views

Allow multiple votes in one survey plugin

I need to customize this plugin to allow multiple votes for the same ip address or the same user. I found some cookies named wp-ps-session but if I delete it i can't vote again. How can I prevent from ...
1
vote
1answer
26 views

How to use <LinkControl />

I am a beginner in WordPress development looking to build a block with tab navigation using <LinkControl />. I am still learning, so any guidance/materials/code examples will be appreciated. My ...
0
votes
0answers
15 views

Woocommerce Shipping Options at Checkout Page [closed]

I would like to display the shipping prices in my woocommerce checkout page in a new line under the shipping service provider. Example: FEDEX $ 12.00
0
votes
2answers
18 views

What is my error trying to create a new table in the database?

I tried creating the tables in different ways and I always get the same error: "Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the ...
0
votes
0answers
23 views

How can I display videos in wordpress archive page [closed]

I have a custom field and using Astra theme, how can I hide featured image and display correctly that videos in archive? (archive.php) <?php /** * The template for displaying archive pages. * * @...
0
votes
0answers
15 views

I want to embed mystream video in my wordpress site

I want to embed mystream videos in my wordpress site but when i paste the embed link in the editor, its say that they can't do that. Is there a way to do that?
0
votes
0answers
14 views

I want this. Is there a plugin or a theme that can achieve it? [closed]

I want to have a custom post type similar to posts that can show up as an accordion with a comment section. So basically the visitor can click on a topic ,the content will show up with a comment ...
0
votes
2answers
39 views

How To Load an HTML File As A WordPress Page (With No 301/No Redirect)

Here's what I'm trying to do: Page URL: https://example.com/the-page/ What it should load: https://example.com/content/oct2020/index.html When visitors go to the permalink /the-page/, I'd like that ...
0
votes
0answers
12 views

why jquery does not work on mobile?

I add a custom tab to variable products in woocommerce and by means of jquery it is set as follow: -if any variation is selected from dropdown list, then that custom tab will appear and -if no ...
0
votes
0answers
6 views

How to add smooth scroll and scroll to top like static code into dynamic Wordpress menu

Here is my static code of menu I want to add (scroll-to-top) and (smooth-scroll) like below to my wordpress nav menu <ul class="site-navigation__list"> <li><a href="#&...
0
votes
0answers
15 views

I want to fusion the product columns in email table order

I have an E-commerce apparel Website (for T-shirts and hoodies, etc...) with a design studio. The customer can order products in 2 ways… either a blank product without entering the designer studio by ...
0
votes
1answer
20 views

What values can we use in `formattingControls` parameter in RichText component

Documentation says: formattingControls={ [ 'bold', 'italic' ] } // Allow the content to be made bold or italic, but do not allow other formatting options ... but I can't find a list of all the ...
0
votes
0answers
4 views

adding custom tab for specific product type in woocommerce 4.4.1

Based on this code, I want to create custom tab for just variable products in Woocommerce, but unfortunately, this custom tab is added to all product types, is it any way to solve this problem? if I ...
0
votes
0answers
18 views

Color customization [closed]

I have a quick question for CSS customization. On my page, https://revival.cin.ba/baza-zasticenih-podrucja/, is it possible to change color of this white placeholders for images of pins without ...
0
votes
0answers
16 views

Current menu item highlights wrong

The menu is with different types of links equipped. The first is a link to a subsite. The other is with to an anchor link. The problem is that the anchorlink is highlighted on the homesite. If I don't ...
1
vote
1answer
34 views

Include Sticky Posts with Custom Query

I'm working with Custom Query in WordPress, Basically, I'm showing 4 most recent posts of a category having ID 4 and my query is as follows:- $args = array( 'post_type' => 'post' , 'orderby' =&...
1
vote
0answers
24 views

Multiple Images/ Slider with custom post [single.php] [closed]

I am looking for a approach to add multiple images option under the Feature image section in wordPress custom post type. I will integrate/implement these images on single.php file where I want to show ...
-1
votes
1answer
26 views

Custom template not working for existing pages [closed]

I was playing around with using a custom template per page. (Because I need to load different post types per page). When creating a new page, and link my custom template to it via Page Attributes, it ...
0
votes
1answer
14 views

Creating a shortcode by pulling in a custom field from a plugin

I have this shortcode code: add_shortcode( 'dashtest', function () { $stringtest = "This is $wpc_cf_scorp"; echo $stringtest; } ); It is attempting to pull in a custom field created by ...
0
votes
0answers
6 views

retrieve “Link Color” value

I've set the Link color using the color picker in the front end. I want to use this color for buttons on the site so I used the following code in header.php <style> .btn{ background-color: &...
-1
votes
0answers
16 views

Save Additonal CSS to a file [duplicate]

I am trying to save the Additional CSS to a file not into the database and enqueue it. I created a my.css file in upload folder but stuck in the process to save/ edit the file. I am facing errors in ...
0
votes
0answers
20 views

Wordpress next post by ajax call on button click

I have an archive of custom post type "Trivia" where I want to display next custom posts on click of a button "Next Post" I have this code for displaying 1 post on archive page: $...
0
votes
1answer
15 views

Adding a custom field to a slug

I'm using the WP Job Manager plugin, and want to add the company name field to the slug automatically when I save a post. I've got it working using the code below, but once I save and then edit the ...
0
votes
0answers
17 views

Remove action using variable function from WP Residence Plugin

The WPresidence theme has an action in its WPresidence-core that generates a dropdown filter on the estate_property post type admin table page the I've not been able to remove. The function goes as ...
0
votes
0answers
10 views

Static page not working on Wordpress dashboard, only latest posts showing

I am also facing a problem with my review site I have 2 websites with one WordPress hosting from GoDaddy my one site's static page is working but my new domain's static page still not working after ...
0
votes
0answers
10 views

how to display next previous pagination on custom page?

I tried to add pagination my custom page, the pagination number appears but there is no next and previous pagination. function.php function pagination($pages = '', $range = 4) { $showitems = ($range ...
0
votes
0answers
6 views

Wordpress custom from mail not working

Custom from mail not working. I've tried it in the ways mentioned on the WordPress website and on StackOverflow. apply_filters('send_password_change_email', function( $send, $user, $userdata ){ ...
1
vote
1answer
20 views

Hide wordpress field if data is empty in post!

I'm using this code to show my field: <?php echo '@ ' . get_post_meta(get_the_ID(), 'Author:', true); ?> When I add a field in my posts it shows it with no problem but for posts that I don't ...
0
votes
1answer
23 views

Create API's for custom-post types & custom queries using REST or Graphql

I want to create a cross-platform app using rest APIs for the website (zoetalentsolutions.com). The website is in WordPress and has custom post-types, fields & custom queries. This app will not ...
0
votes
2answers
27 views

Measure time in ONLY HOUR format

I need to change the timeformat in this column to be in hours, not measured in seconds and minutes. This meaning that 30 minutes should be measured in 0.5 hours and so on. I think I need to edit this ...
0
votes
0answers
23 views

Add admin page for specific post status (for example)

I have posts in the wordpress administration. These posts have statuses and an author I would like to be able to create several types of pages in the wordpress administration which will be identical ...
0
votes
0answers
10 views

Changing text box color in Flatsome theme?

I've created a textbox inside a slider through UX builder in the flatsome theme and now sins the white default text color is hard to read across the image background I'd like to change it to something ...
0
votes
0answers
11 views

Manual rate for custom currency

I have code custom currency for woocommerce but how to execute code for manualy rate price compare to usd for the new custom currency. For example I insert my product price with usd, then the product ...
0
votes
0answers
25 views

Save_post - Warning: Cannot modify header information

I'm trying to populate an ACF field on save (updating or creating the post) while running a geolocate function using mapbox. I'm getting a cannot modify header information error when hitting the ...
1
vote
1answer
35 views

WordPress customizer Preview not loading

I'm creating a WordPress website, today I have tried to add some new features but I'm not able to add because customizer live preview is not loading I have done some steps Update all theme and plugin ...
0
votes
1answer
11 views

Inserting a class on before_widget if checkbox is checked

I have a check box showing on all widgets, a simple option to double the size of the widget on the frontent. function doublesize_option( $widget, $return, $instance ) { $large = isset( $instance['...
0
votes
0answers
13 views

Cannot add custom css in site

I am trying to add custom css in my wordpress site. It is possible until before 2 days. From yesterday I couldn't update the css. Instead it is showing some error. So I have decide to edit directly in ...
0
votes
1answer
26 views

Query Product categories what have a custom field

Im trying to build a page template on wordpress that will show a list a categories that have a custom field checked. So the taxonomy is just the default woocommerce taxonomy product_cat I then have a ...
0
votes
1answer
14 views

How to get custom page template being edited in gutenberg editor

I want to know custom page template name (the one chosen in page attributes - template) in PHP, before page opens in order to enqueue additional scripts according to chosen template. I know how to get ...
0
votes
0answers
14 views

Display only one category under a custom post in WordPress

I am willing to display only one category so that I call the very exact album's song and am not achieving it no matter what. Would appreciate some help since the developer is not responding. Thanks! I ...
0
votes
0answers
11 views

Extend wp_nav_menu() code

Whats the most simple way to change my wp-menu generated output from <ul class="primary-menu"> <li class="menu-item"> <a href="">nav link</a> ...
0
votes
1answer
17 views

Get /users/me details from Wordpress backend

Is there anyway to get the same details as /users/me api command but in WP backend? I have backend function that would get the user meta details custom api /user_meta public myFunc( $userId ) { $...
0
votes
0answers
9 views

How to divorce page name from the shown page header?

I am trying to change the top header of my About Me page to show my full name (instead of "About Me") without changing the page name elsewhere. When I manually type my name into the title ...
0
votes
0answers
16 views

Update my custom theme while displaying maintenance message

I am still an absolute newbie in wp theme development. I am currently building my very first one. We found a free theme that was tending in the right direction, so we used this as a pint to start. We ...
0
votes
0answers
29 views

Replace the Variable Price range woocomerce in sidebar

I use the following code to replace the price range of variable products //Replace the Variable Price range by the chosen variation price add_action( 'woocommerce_before_single_product', '...
0
votes
1answer
71 views

Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block

I am basically creating a Custom Carousel Gutenberg Block. It qould be a carousel at the front end and I plan on using a Gallery Block to add images to the carousel. The carousel would be loaded using ...
0
votes
0answers
6 views

How can I subtract Regular price cost price and show it in label or text field?

How can I subtract Regular price cost price and show it in the label or text field?
0
votes
0answers
22 views

mailchimp integration on a custom footer

I want the user to be able to opt-in to a MailChimp newsletter within a custom footer, which one. of our clients has asked for. The client also uses MailChimp so we therefore cannot use anything like ...

1
2 3 4 5
99