Category "wordpress"

Display a product custom field only in WooCommerce Admin single orders

This question follows How to show a product custom field (custom SKU) in WooCommerce orders answer to my previous question. How do I make a product custom field

No Stripe on Woocommerce with custom theme

Sorry to bother you but wordpress forums are not responding. I just developed my custom theme on WordPress to which I integrated the Woocommerce and Stripe plug

Getting slow query from SELECT COUNT(*) on WordPress

I have the query below and it gives me a count of 32,000. SELECT COUNT(*) FROM wp_term_relationships, wp_posts WHERE wp_posts.ID = wp_term_relationsh

How to add width and height to Wordpress Gutenberg image block output?

Default Gutenberg Image block i HTML output has no height="xxx" and width="xxx" parameters: <div class="wp-block-image"> <figure class="aligncenter si

How to debug in WooCommerce 3+

I am creating a custom shipping method for Woocommerce using this tutorial https://docs.woocommerce.com/document/shipping-method-api/ but I am having issues deb

Add customer email and phone in "Order" column to admin orders list on Woocommerce

I am trying to find a way on how to add the customer phone and email below the name on the WooCommerce order view. See picture for reference where I need to ad

How to enable curl on Wordpress

How to enable cURL on Wordpress. I have install cURL on my server and I have also enabled in PHP.ini file(removed ; before extension) but still I'm getting err

Flatsome UX Builder not loading

I just installed the Flatsome theme on my SSL protected site. I was going to use the UX builder to edit the pages but it was not loaded what should I do? Some s

wordpress : How to specify the cause "This site can’t be reached"

I have used Let's Encrypt for WordPress on AWS Lightsail. I found that it was expired because I didn't renew it. So I tried the Let's encrypt to renew, the bi

Display a order failed custom notice after redirecting back to checkout page in Wordpress plugin

I want to display a cancelled order custom notice as a strip on top of checkout page (like we generally see the order success message from Wordpress). I need to

Show "Microsoft Active Directory" information table in WordPress

I have a spreadsheet in Microsoft Active Directory Now I want to display the information in this table in WordPress I came across this plugin according to the s

How to hide products with stock less than 2 on WooCommerce shop page

I own an e-Commerce business and i want to hide the products that have a stock of less than 3. This is what i came up to: add_action( 'woocommerce_product_que

flush_rewrite_rules() not working with update_option_{$option}

Will someone please explain to me why flushing doesn't work in my case. I added a custom settings page with a default value, but it doesn't work when I hit save

Insert a DIV after the 6th product only once in WooCommerce category archives

I would like to show some content after the fifth product of a product category. Based on Add content in between product rows in WooCommerce archives answers co

Elementor header and footer disappear after activating WPML plugin

everyone. I installed and activated WPML plugin for multi-language. But after activating it, my elementor header and footer disappeard. I tried to find the solu

CACHE_TRANSIENT is the default caching method in Timber. What does it actualy mean?

Performance/Caching section of the docs isn't clear enough. It says that the default caching mode is Timber\Loader::CACHE_TRANSIENT , but there's no explanation

React Routing Not wokring inside Wordpress - [WPengine]

I've a Wordpress site hosted in WPEngine. I'm running a react application inside Wordpress using ReactPress plugin. https://####.wpengine.com/rpressapp/ - this

How can i change sidebar position in mobile view at Wordpress theme?

I have issue with right side bar. I need to move it above the post area in mobile view. Something like this https://ibb.co/rk9yzJ7 Is it easy to set it or I mus

Selecting a role in Wordpress. UserPro

At the moment, I am busy creating a registration form in Wordpress, with the UserPro plugin. Almost everything is working fine. Except for one thing, which is s

Get the product with highest price in Woocommerce

I need to retrieve the product with highest price in whole database. I've tried this but doesn't work. $args = [ 'limit' => '1', 'orderby'