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
-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
15 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: &...
0
votes
0answers
24 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
18 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
20 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
11 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
7 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
23 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
25 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
27 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
58 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
46 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
14 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
29 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
12 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
34 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
141 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
23 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 ...
0
votes
1answer
12 views

Can't Customize Wordpress Page

When I click to customize my page, I get the spinny wheel. I've tried restoring to previous days on my site, but am having no luck. Thank you for your help.
1
vote
0answers
21 views

How do I change the markup only of a built-in widget?

I'm developing a theme and I'd like to slightly alter some of the HTML output of some of the built-in widgets. As of now, I managed to change the sidebar search widget by creating a searchform.php ...
0
votes
1answer
11 views

Making a list that can be filtered by category/tags

I want to create a list of organizations that users can filter by location, service (legal help, federal services, etc.) to create a list of what exact organizations fit their needs. Is there a plug-...
0
votes
0answers
72 views

WooCommerce - Change variable product image when only one attribute is selected

I'm aware that Woo questions are supposed to be off-topic here, but I've asked this question to WooCommerce support and they suggested that the only way to achieve what we're after is with custom ...
0
votes
0answers
93 views

Woocommerce Billing Form not saving User Name or Phone Number?

I have a custom checkout that we've built as part of the theme for a site we are building. When the user presses update to update the shipping or billing address, it wont save the user's first and ...
0
votes
0answers
33 views

How to use WP conditional tag in a functions.php with OCEANWP Theme?

Theme - OceanWP Page Builder - Elementor Single Post templated created using Elementor I am trying to add custom code for the SINGLE BLOG POST. Using a conditional tag "is_single", I want to ...
0
votes
1answer
16 views

ACF unable to use user field

I am totally new to wordpress and acf and I'm trying to use a user field in a post to show the author of the post. I tried to programatically add the post author id as a meta attribute in the ...
0
votes
0answers
72 views

Woocommerce: Create dropdown field and filter items of it by categories in cart

I created a cutom field for the Woocommerce check out page with several items: add_filter( 'woocommerce_after_order_notes', 'haendler_location_checkout_field' ); function ...
0
votes
0answers
18 views

Custumise Nav Walker sub-menu : adding HTML content like effect in mega menu

I need to custumise my walkermenu in wordpress, but i have an issue with it, this is my menu structure, I need to add, a div after my ul sub-menu, like the ffect in mega menu : <nav class="...
0
votes
3answers
99 views

Bootstrap slider not working

I have a html bootstrap slider which works fine with captions and everything.I would like to integrate it into my Wp theme (my forst one, so total newbie).I found a code, which seems to helo, but it ...
0
votes
0answers
8 views

How to save multiple checkbox form

i already search anything like my question, but i not found it.. I want to showing all default role with checkbox. I have code <?php function shapeSpace_get_roles() { ...
0
votes
0answers
7 views

Can i change wp-admin to my custom name after getting login to wordpress

I want to change default "wp-admin" endpoint in the entire site, for example, if you log in WordPress and you go to plugins or posts it shows like that url/wp-admin/posts.php or url/wp-admin/...
0
votes
1answer
17 views

If Statement is Ignored?

I’m trying to update a boolean custom field based on whether a post has ‘expired’. A post is considered expired when its publish date exceeds 30 days. To check this, I am retrieving the post publish ...
0
votes
1answer
51 views

custom post type and user post count shortcode

Hello i m a newbie in php and Wordpress development. I was struggling to get a user custom post count in my wordpress/buddypress site frontend. i m using this code: // add [author-post-count] ...
0
votes
0answers
8 views

Trying to display media on a per-category basis

This is not a technical question, just would like to get some ideas on how to do something. My goal is to display some teaching resources sorted in three levels (beginner - intermediate - advanced). ...
0
votes
0answers
58 views

MultiLevel Drop down is not working in Divi Theme with click or enter technique

I wanted to change the hover menu dropdown to click or enter for accessibility reasons. I am able to make the dropdown buttons work on a single level but not on multilevel meaning a dropdown menu is ...
0
votes
0answers
21 views

Use Theme CSS in custom code

I'm busy creating a page with Divi, which contains various forms, that will be used for calculations. Is it possible to use the same css stylesheet as the theme? This will ensure that custom code is ...
0
votes
0answers
8 views

WooCommerce tag returning customer

In our store, during checkout for every customer we create account automatically if it doesn’t already exist with same email. Now I’m looking for a way to somehow display label tag or little notice on ...
0
votes
0answers
8 views

I want to add Multiple Dependent Checkboxes Admin site in WordPress.I don't Know how it can

I Already Add Single Checkbox but it is not dependent Thanks In Advance
0
votes
0answers
13 views

Ultimate Member Basedir/Baseurl modification problem

I'm trying to modify Ultimate Members plugin behaviour so I can upload files outside public website domain folder (usually www folder). I've achieved it by modifying class-uploader.php in plugin's ...

1
2
3 4 5
99