Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [customization]

Modifications to theme and plugin files to create new functionality.

0
votes
0answers
26 views

Extend height of column background color to same height as row in WP Bakery

I'm working off of a photoshop document a client has given me to make a live version of. They want to replicate the following with one section: For the life of me, I can't figure out how in the world ...
0
votes
0answers
13 views

Taxonomy Brand Archive with Product Categories Integration

The following code is inserted in a the taxonomy brand page and it shows all product_cats for a specific brand. <?php $argsproduct = array( 'post_type' => '...
0
votes
1answer
15 views

Custom Route Returns 301/Passing Variable from Input

I'm trying to register a custom route to validate a groupon voucher code for a landing page. I registered the route in functions.php like so: // Adding Custom Voucher Route add_action('...
0
votes
1answer
15 views

Displaying posts inside table having issues

I am trying to create a comparsion table like the attached image. But it was not working like in the image. for that i have done following code what i am getting is not like the image for example the ...
0
votes
1answer
21 views

Floating CTA Image Integration

I want to add a clickable image that links to another page. It also scrolls with the user as they read the article on a page. For example https://bit.ly/2RJ0BZW – like the “U.S Free Local Quote” seen ...
0
votes
3answers
28 views

Historical customisations won't go away

I've inherited a wordpress website I need to maintain. Despite having upgraded it to the latest version (5.03), and having changed the theme, there seems to be some customisations which survived. ...
0
votes
0answers
9 views

Create a redirect page that checks available sites?

I have a Wordpress Multisite network setup, and I want to create a page called example.com/redirect where there is a simple input field. Here the user can input their site name (same as the url ...
0
votes
1answer
34 views

How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?

My website is a daily deals and offers site. I promote many online stores with affiliate links. I have created a php script to detect any merchant's link (ex- Amazon) and convert it to my affiliate ...
0
votes
0answers
14 views

Warning: include(services.php): failed to open stream: No such file or directory [closed]

I've used a specific template for post, bt is giving an error. How to fix it
1
vote
0answers
8 views

Woocomerce custom billing address fields display in order details [closed]

In woocommerce I register a custom billing field to can track the house number separately function addCheckoutHouseNrField($fields) { $fields['billing_house_nr'] = array( 'label' => __(...
0
votes
0answers
13 views

Cannot go to next page on phone but can on computer

Right now I have 2 pages of info. If you look up my site on a phone, it says 1 of 2 but you cant click on it to get to 2 . It works if you use a computer tho?? How do I fix this?
0
votes
1answer
19 views

Wordpress broken after domain name change

I configured my Wordpress site to use a new domain name. I'm still using the same hosting provider. I have also set-up the old domain to redirect to the new one. Now, the thing I want to achieve is ...
0
votes
0answers
12 views

Is there a way to edit slim down the appearance of the Add Media window in the post-new.php page?

I'm creating a photo gallery page for our "Author" user roles and I want to simplify the process of uploading photos. Right now, you can upload photos by doing this steps be selecting Add New Post and ...
0
votes
0answers
12 views

How Can I add show_post_count in get_archives_link?

How can I show archive's post count in an customized html output for archive? //Change Archive List HTML function change_archives_output($link_html, $url, $text, $format, $before, $after) { if ('...
1
vote
1answer
27 views

Group posts by custom post type

I created a custom post type called Game, and created 3 posts under it, Game A, Game B and Game B. I also want to create more posts, like guides and tutorials, for Game A, is thre a way to group ...
0
votes
0answers
13 views

When clicked Restore link and permanently link, the link you followed has expired is shown

I have created custom restore and permanently link in the custom column of the custom post type. I have created the restore and permanently delete using the following codes. // Actions to delete. ...
0
votes
1answer
13 views

Redirecting the lost password page request when using a custon login page

I have a custom login page and hence have setup the following redirects: add_action('init', 'my_redirect_login_page'); add_action('wp_login_failed', 'my_custom_login_failed'); add_filter('...
0
votes
0answers
14 views

How do I identify different categories if I want to call WP_Query [on hold]

I want to post different categories as example content, date and title. How do I identify the parameters and know the right name or string to use?
0
votes
1answer
18 views

Change order of custom submenu link in WP Admin?

I've added a custom link to WP Admin under the Users menu, but trouble is I can't seem to get it to display above the default options. Is this possible? My code: // Add sub-menu option to users menu ...
0
votes
0answers
22 views

Permalink / category base prefix is missing - how to force it? / SOLUTION FOUND

there, I am trying to set up a category base prefix. For some reason, WordPress skips those bases altogether. Here's the structure I would like to accomplish: mypage.com/topics/category name, ...
0
votes
0answers
18 views

Same function but different add_settings_field

I have two fields but related to each other; Is it possible to have two add_settings_field() with same function? or one add_settings_field() with multiple $id and one function? Or just should have ...
1
vote
1answer
26 views

How to change email address used for registrations?

I'd like to have a different email address that the one used for the website administrator to send registration emails and email notifications. Say for instance I installed WP using admin@example.com ...
0
votes
2answers
19 views

How to send custom mail when a user complete a specific form

I've been looking for the whole day for a plugin that help me to solve my problem with my website. Is there a way to create a specific form that could send a custom e-mail when the user complete it? ...
1
vote
1answer
68 views

What's wrong with Customizing new user notification email by add_filter?

When a new user signs up, the confirmation email is received and this is what it says: Username: testuser To set your password, visit the following address: But I want to customize it, so I added ...
0
votes
0answers
26 views

Genesis custom loop for archive page

I know this question has been answered before but for the life of me, I can't find it anymore. I created a few custom post types and custom fields using ACF, now I know how to display the info in my ...
0
votes
0answers
12 views

Getting 404 on child page with pre_get_posts() on custom posts

I want to have custom taxonomy for publishing different type of posts. I have registered several custom posts like with the code below function wtp_case_studies() { $labels = array( '...
0
votes
1answer
21 views

Verify nonce in REST API?

I would like to understand the best practices regarding nonce validation in REST APIs. I see a lot of people talking about wp_rest nonce for REST requests. But upon looking on WordPress core code, I ...
-1
votes
1answer
27 views

WordPress Code Access to Restricted Content without Registration

Ok this is completely past my knowledge but I need to have this function and wondering if anyone can help or know of a plugin that can do this job.. I have content on my WordPress site that I want to ...
0
votes
1answer
24 views

Underscore - Self hosted fonts

Trying my hand on building a theme with sass, having a bit of a problem with figuring out how to use my self hosted font in the project. This is probably dirt simple, and as usual I'm overcomplicating ...
1
vote
1answer
36 views

How can I defer these JS files?

In my website, I used GTmetrix and I got JS defer error on following two files. 92.5KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page ...
0
votes
0answers
6 views

Can't get rid of Blog Sidebar on homepage — HELP!

I'm brand new to Wordpress and already ran into a frustrating issue. I set my page to a static page (I'm building a page for a business, not building a blog) and would really like it to display as ...
-1
votes
0answers
22 views

woocommerce_wp_select options for user list

Here is my code for users select option in woocommerce backend. I can not reach dynamic user list in option array. function woo_add_custom_general_fields() { echo '<div class="options_group"&...
1
vote
0answers
9 views

How to add an extra variable to login and authenticate it?

I want to add an extra variable to my custom login and to authenticate it to then add it to an SQL database. My custom login: <?php require('wp-load.php'); require('site_config.php'); function ...
1
vote
0answers
16 views

user_profile_update_errors hook not executing

I'm trying to use the user_profile_update_errors hook, however it doesn't appear to be executing. I'm calling it like this: add_action('user_profile_update_errors', 'blm_register_result', 10, 3); ...
0
votes
0answers
22 views

Custom register page and retrieving WordPress registration errors

I'm doing a custom login and register page and the login portion has gone smoothly as I can redirect errors back to my custom page because of how wordpress handles this (such as appending the issue to ...
-1
votes
0answers
16 views

WordPress Icons Disappeared After Setting Static Contents

I had issue on YSlow while testing site speed, i found error, where it says that make your domain "Cookie Free" so i followed instructions on KeyCDN website here I correctly followed all the steps as ...
0
votes
1answer
16 views

Trouble with custom login page

I am trying to make a partner portal page (page for our business partners to see important information specific to them) and therefore wanted to create a custom login page. I have read many tutorials ...
0
votes
0answers
18 views

Create custom design for posts loop with pagination

I need to create a simple posts loop to be shown on the homepage (Meaning - I am in "page" and not "blog" or "archive" This is what I need: Display maximum of 5 posts there will be arrows on both ...
0
votes
1answer
52 views

Add custom attribute to product's HTML to woocommerce cart page

I'm trying to add a data-attribute to WooCommerce's cart page. The cart page populates a table with each row being a product that has been added to the cart. I'm able to add a data attribute into ...
0
votes
0answers
15 views

Load Disqus comments after clicking a button

I have an official Disqus plugin installed on my site. However, I would like to load the comments only after user clicks on a button - "Load comments" for example. Comments should remain hidden until ...
0
votes
0answers
12 views

How to show No Post Found when a user has not posted anything yet

I am using Wordpress 5.0 By default, when a logged-in contributor click "Posts" or "All Posts", a list of his posts are shown. But when he has not posted anything yet, clicking "Posts" or "All Posts"...
1
vote
1answer
15 views

Automatically Update Woocommerce Prices [closed]

I am running on WordPress v4.9.8 using WooCommerce v3.4.2. Recently I've made an Excel spreadsheet which collects competitor's prices for multiple products via query. My target is to follow these ...
0
votes
1answer
35 views

Best practices to handle multilpe roles and capabilities?

Consider a complex system made in WordPress with multiple roles and capabilities. Let's take a University website, for instance. A University website could have a capability to post news to the home, ...
1
vote
0answers
34 views

Best practices to assert current_user_can() with guests

In WordPress, a guest can do a lot of things, such as reading posts. However, this always returns false for guests: add_action('wp', function() { global $post; /** @var WP_Post_Type $pto */ ...
0
votes
1answer
6 views

I want to use a product thumbnail completely different than the product image

I want to use a product thumbnail completely different than the product image. I've tried to search on google but all solutions lead to just customization of thumbnail sizes.
0
votes
1answer
29 views

clickable toggle menu, help

I'm trying to edit the toggle menu so that instead of having to click on the icon near the menu, the menu would open up by clicking on the words instead. How to do this? I understood how to remove ...
0
votes
1answer
18 views

How can I edit the Wordpress menu link to allow fb: instead of http

Long story, but I'm building a site with social icons in my menu bar (as menu items). I'd like them to open respectively on the device's app when clicked on (for example Facebook app on iOS). Problem ...
1
vote
0answers
12 views

How to display all subpages and short by year

How can I display all child-pages and short by year in Wordpress For example: all subpages in 2016, 2017, 2018: • 2018: ----- Subpage A ----- Subpage B ----- Subpage C • 2017: ----- ...
0
votes
0answers
8 views

Wpforms snippet condition date+7

I want to limit the input in a datefield to (minimum) today+7. I found the snippet below, but i don't know how to customize it. Anyone that can help? (Sunday may be available) /** * Limit the dates ...
0
votes
0answers
25 views

Unexpected results when passing WP_Query from Search and Filter Pro to Geomashup, with the results updated via AJAX

I'm using two plugins in tandem, GeoMashup and Search and Filter Pro. Geomashup is generating a contextual map of posts from search results passed from Search and Filter Pro. I need the results ...