Category "wordpress"

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'

Image alt tag aren't display in post when inspect the sources code in WordPress

You will be clear if you see the image below. I insert alt tag in all image of WordPress Media Library but when I use those images of my post and inspect to see

How remove pagination from woocommerce storefront theme

How remove pagination from woocommerce storefront theme.

Cors issues with JWT Authentication for WP REST API and local React project

I succesfully installed "JWT Authentication for WP REST API" and followed (and reviewed multiple times) the instructions for setup correctly. My React app does

Wordpress wpdb->delete issue

I'm trying to delete a record from the database programmatically. When I have it hardcoded like this it does delete a record from the database: $wpdb->delet

Change the alert text on add to cart action without selected variation in Woocommerce

in Wordpress I'm using Woocommerce v3.3.5 and in single product pages for variable products, When I click the add to cart button while I don't select a variatio

How to make wordpress site full width (Metro theme)

I cannot seem to figure this out! The site is pokko.ca (pass is pokkoget) Trying to make it full width in Metro theme but it won't change for me. Please help! t

Wordpress cannot connect to mysql server

I have run a mysql server in my macbook, where I can access via both mysql command mysql -u root and navicat application. However, when I open the install page

Cannot retrieve order_id from database with SQL query

We are trying to update WC orders based on an external script. However, the script is unable to acquire the order_id for some reason. I tried to run the SQL que

Get WooCommerce product variation attribute terms in admin products general box

I display the id and sku of each variable product in the general tab - of the wp admin product data box with the following code. Any idea how to get the the var