All Questions

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

Fixing link rel=“next” in for paginated links

I've got a site with yoast seo running, as seen in the source: <title>Redacted</title> <meta name="description" content="Redacted" /> <meta name="robots&...
0
votes
1answer
5 views

Divi: how to hide/show specific menu according current page?

I use Divi plugin. I have these menu items: Blog Enterprise Coach Help On my home page, I have these 4 items: OK When I click on "Entreprise" item (to show enterprise page), I want to hide ...
0
votes
0answers
8 views

How to access parent block's attributes in nested block's save function?

I currently have a block that passes some of its attributes down to the nested InnerBlocks using React's Context API (the version of WordPress that I'm on does not yet have the Block Context feature. ...
0
votes
0answers
4 views

customizer not working when ever i activate ssl

when ever i activate my free ssl from cloudflare my websites customizer not working it is showing me blank page. please help. screen shot Console Screen shot:
0
votes
1answer
10 views

Check the Specific Meta Key IF its Meta Value is Empty then… (WP Post Meta Query)

I'm trying to make a wp query to WP Post Meta Table where I want to check the post's META KEY and its META VALUE if its EMPTY or NOT. The meta key is wc_pay_per_post_product_ids. IF the statement is ...
0
votes
1answer
8 views

Shortcode to embed Edit Account form not working

I'm creating a short code that shows both first and last name of the user if he's logged in, or, if he's logged in, but hasn't configured any name, it will return a random name with a message telling ...
0
votes
1answer
6 views

On the Blogpost I have categories showing, is there a way to exclude a catgegory like 'Media'?

This is the code I have in a include file on single template file. Is it possible to exclude 'Media' showing as a category. So for example if I have the following categories on a post - 'Test Test1 ...
0
votes
0answers
5 views

How to assign a specific service to a specific provider based on location

I’m looking for a way to assign a specific service to a specific provider based on location. I’m currently developing a website with various service providers providing the same service. Do we have a ...
0
votes
0answers
10 views

How to customize the Wordpress White Screen of Death

I see a lot on how to get rid of it, but I want to customize the text on it which currently says: There has been a critical error on your website. Please check your site admin email inbox for ...
0
votes
0answers
6 views

WooCommerce WebHook Retry

I am trying to implement webhook retry with woocommerce. I see where they publish the webhook notification at https://github.com/woocommerce/woocommerce/blob/5ba2cdafa58c5a02d44eebbab1e8fe26f295e4aa/...
0
votes
0answers
11 views

How can I set up this plugins on my site

I want to create a site where users can be rewarded by the tasks they performed on a site, and I came along with the plugin called "Sumo Reward Point System" and "wooCommerce plugin&...
0
votes
0answers
15 views

Modifying a WordPress Plugin

is it possible to modify plugin by removing action and then adding a new with new function? In plugin I have this: namespace OCDI; class ImportActions { public function register_hooks() { ...
0
votes
0answers
19 views

User name in referral URLs

I want to change the referral link structure  Currently it's: https://www.example.com?pkey=K9HBTKOYZ8 I want to change it to: https://www.example.com/?pkey=username User ID shortcode 
 $user_ID = ...
0
votes
1answer
17 views

Why is my jQuery getting children i don't expect it to? [closed]

I am trying to get the 2nd div of this parent div, but it is also getting the second child of the parent's first child. The class names are a little confusing but not in my control, so i apologize for ...
0
votes
0answers
10 views

Paid theme builders for beginners website developers? [closed]

Could somebody with experience tell me if some paid theme builder is the only PRACTICAL option for beginners website developers. Practically, if I want to use Wordpress for my clients' websites is ...
0
votes
0answers
15 views

What are these weird url's in my Google Analytics reports?

I have a WP blog site. I have installed google analytics. From one or two months ago, there are weird access frequently, but not every day. I can see that url from the Google Analytics. The urls are ...
0
votes
1answer
8 views

Saving multiple fields (dropdown and text) in custom metabox

I have seen this question asked a bunch but nothing seems to work. I have a simple metabox within a CPT that needs to save two values. It needs to save a dropdown of pages and a url text field. I can ...
0
votes
0answers
11 views

woocommerce REST api on the website's front-end

I want to use AJAX for product listing (with "show more" functionality), AJAX based search etc. on the front-end of a Wordpress/Woocommerce website. It seems like a simplest approach here ...
0
votes
1answer
14 views

Contact Form 7 Conditional redirect

As per this ticket on WordPress forum, I have added the below code to my contact form for conditional redirect. <script type="text/javascript"> inputs = event.detail.inputs; inputs....
0
votes
0answers
10 views

Changing Slider Revolution modal window display velocity

I'm creating a web page and I'm using Slider Revolution. My issue is that when I implement some modal windows, the modal takes a lot of time to display and a lot of time to close and I do want to ...
0
votes
0answers
20 views

How do you output custom code before a subset of posts in the loop?

I am trying to put a header before past posts and after future posts. I'm using get_posts() in a function to output the posts using a foreach loop for a custom post type ordered by date (meta key). If ...
0
votes
0answers
11 views

I want to show page for few seconds before redirecting to external link in Wordpress

I want to add same feature like https://www.casinofever.ca/ in my wordpress website so that when external link is clicked then before redirecting show another page for few seconds.
0
votes
1answer
11 views

How to sort WP_Post Object array by object field in php?

I have a php code as shown below in which I want to sort WP_Post Object array by object field post_date. if ( $search ) { $area_query = new \WP_Query( [ 's' => $search, ...
0
votes
0answers
7 views

Header Button Chance Polylang Elementor

Currently, I am making a Bilingual website, and I made a button on the header as well, and I want to make the button bilingual as well, but I don't know how could I change its language because it is ...
0
votes
0answers
8 views

WooCommerce core checkout.js to Query UI Widget, why is it displaying some of my hidden fields at checkout? [closed]

This took me a while to even figure out it was this that was doing this. I have a multi-step checkout and have some fields hidden by default. I confirmed the hidden fields are indeed in a display:none ...
0
votes
0answers
19 views

Update widget values from ajax function

I have widget like this class Test extends WP_Widget { public function __construct() { parent::__construct( 'proreco', __('Product recommender', '...
0
votes
2answers
16 views

Assign custom class to post content images

Is possible to assign a default class to the images that are part of a post content? I have a problem with teh layout, this because the attached images insetred inside a post will break my bootstrap ...
0
votes
0answers
12 views

show related articles in single.php template

How I can show inside the single.php template the related articles? Is there any particular params I can use with WP_Query or get_posts() ?
0
votes
0answers
16 views

displaying Elementor custom header with shortcode

I'm trying to display an Elementor Pro custom header on one of my website pages, I tried using Elementor conditions with no luck. when I created the custom header, Elementor gave me this shortcode: [...
1
vote
2answers
19 views

Search functionality - include date, category and author search

When you use the default WordPress search functionality you can only search on Title, so if you type in the title than the posts you search for will appear in the results. I would like to expand this ...
0
votes
0answers
10 views

Under My Sites Menu, I can find only one of my Sites, and it is duplicated

I have WP Multisite. I have only two Sites. The main one, and a second Site as a subdomain ( EN.mydomain.com ). The problem is, if I am in my main site, I can find both Sites under MY SITES menu. But ...
0
votes
1answer
14 views

Redirecting to a custom forgot password page

I have created a custom login and registration page with the plugin 'User Registration' and they both work perfectly fine, however, on the login page if I click on the ‘Forgot password’ link, it takes ...
0
votes
0answers
13 views

Create a carousel that can change content on both sides of a row

I'm trying to create a carousel in wordpress that is split across the left and right side. I want the forward, back buttons on the carousel to change both sides. Ex: https://i.imgur.com/Cypi0hp.png ...
0
votes
0answers
12 views

Wordpress polylang wp_set_object_terms sets category to linked product [closed]

I am using this function in order to set a product to a category. But instead of setting the $new_product's category it adds the category to its linked product translation... wp_set_object_terms( $...
0
votes
1answer
10 views

Randomizing wp_tag_cloud() in child theme

I'm trying to write a wordpress function code in my child theme that randomizes the words in the word cloud where previously it was alphabetized. The code Im using is below, which doesn't work. // ...
-1
votes
0answers
14 views

How can I display free product on home page [closed]

I am creating a eBook store website.Now I want to display free eBook on home page with new wp query.How can I do that
0
votes
0answers
9 views

How to search posts with specific attachment?

The wordpress backend only provide function to check single post attached. Is that possible to query posts that when the attachment inserted in multiple posts plus with multiple post type?
0
votes
1answer
19 views

Get UserInfo from Wordpress

I am building a website and trying to pull the data from Wordpress using the WP rest api. On wordpress, the WooCommerce plugin has been added so the user contain more info and I have added additional ...
0
votes
0answers
18 views

Unable To Edit Plugins With Plugin Editor

I've been trying to edit plugins through the plugin editor on wordpress. I've done this many times throughout the years without any issues. This isn't something I do often, just when needed. Recently, ...
0
votes
1answer
7 views

Redirect Category Media 'URL' when clicked

Currently when I view the Media page the URL is /category/media/. I need the URL redirected to /media/. What's the easiest way to do in WordPress
0
votes
0answers
7 views

I would like content on the checkout page for Check Payments to also appear on the Order Received Page

I have created a checkout page with two payment options, Check Payments and Pay with Bitcoin. For the check payments option, I have added the "Pay to" name and address and it appears on the ...
0
votes
0answers
14 views

Job and Employee Performance Tracking with Product Safety

We are looking to connect a WordPress site to our database where an employee can scan an order barcode with an RFID scanner that was generated from our database and have the WordPress site query the ...
0
votes
1answer
16 views

Private Page View Counter

Is there a way to see the number of times a page has been viewed from the WP page/post lists on the dashboard? I don't want it to show publicly. Any thoughts appreciated.
0
votes
0answers
11 views

pick up day for woocommerce products with email notification [closed]

I searched the web for a kind of plugin or code that suits our need. We have a local food store and we want to sell products with an online shop. The ordered products can be picked up in the local ...
0
votes
0answers
11 views

Accessing wordpress tool in local MAMP Site

I created a Wordpress website locally using MAMP. For weeks I was able to get to my website and continue creating it by clicking "start servers" and it would open the MAMP page and I would ...
0
votes
0answers
10 views

Precheck fields when I add a new post

Precheck fields (like categery or custom fields) in new post based on user id. Its possible to make this?
0
votes
1answer
21 views

Rename a folder via HTML POST request

I am trying to rename a folder in the uploads folder if an HTML form is submitted (used to edit entry names). This following code is what I have so far but it isn't working. if(isset($_POST['...
0
votes
0answers
14 views

Can I load the same composer package twice without conflict?

So, I'm running mrclay/minify library on my theme on WordPress to minify all the CSS and js files to boost performance. On the website, I use the W3 Total Cache plugin so it takes care of everything ...
-1
votes
1answer
26 views

How to expire guest users after 1.5 hours logged in?

I want to pre create a table of users 1-200 Then after login for the first time it Edited to be further explained & described: I'm trying to issue access to all pages for a guest user with a ...
0
votes
0answers
10 views

Links to CSS and JS change based on page you're visiting

I have a multisite setup. One of the sites is having an issue linking to the stylesheet and JavaScript resources. For some reason, the URL to those resources add the page url to the link. For example, ...

15 30 50 per page
1
2 3 4 5
2091