Category "wordpress"

How do I get only names of active plugins in Wordpress?

I am trying to to get list of active Wordpress plugins and for that I am using wp plugin list --status=active --allow-root command. That gives me putout like t

WooCommerce - How can I add multiple, products to cart using ajax with same add-to-cart-Button?

I am trying to use ajax to add multiple, different products to cart with one button click. The AddToCart-Button is living in SHOP before pagination. Ajax reques

WordPress plugin extend WC_product with namespace class not found

I am trying to add new woocommerce custom product type from my plugin. I just have a simple construct in the class that extend WC_Product namespace giftbox\mode

Free Search plugin for WooCommerce website [closed]

Can someone advise a free Search plugin for WordPress WooCommerce website , that can display in search results “products” and read

WordPress disable "regenerator-runtime-js" and "wp-polyfill-js"

These two srcripts are added on every footer of my WordPress pages. Is it possible to remove them via functions.php?

Why define( 'FS_METHOD', 'direct' ); is not working?

The code: define( 'FS_METHOD', 'direct' ); doesn't working on Mac to install plugins and themes Awesner please!

Add an unique class to every wp block on save

How can I add a unique class name to every gutenberg block on save? I tried doing this with php using a combination of wp_after_insert_post, parse_blocks, wp_up

Woocommerce - hide an element if logged in, show element if logged out

i've found the following code to make an element change to display:block; if a user is logged in .logged-in .price{ display: none; } and also <?php if ( i

Wordpress Form POST Request In Current Page Got Twice

I use wordpress shortcode to create a form and send post request in current page. But I will get twice post request so my mail will send twice. Hope someone can

The add menu callback function doesn't work in wordpress mvc ? Why?

I am newbie in wordpress mvc of https://www.wordpress-mvc.com/. When I try to add a new menu in plugin, a menu appears. But the callback function ideapro_script

Wordpress ACF dynamic status bar

I am in the process of creating a order tracker using Wordpress, ACF, and a yet to be decided form plugin for use on the front-end. The back-end is working just

My Wordpress Mobile Toggle menu not wrking

The mobile toggle menu on my wordpress website is working in the editor but not on live site on the mobile.

Horizontal click and drag scroller for multiple sections help, works for only one

So I have a horizontal scrolling feature which works great in JS but only for one section with the classname, any other section that shares the same classname i

Only display Woo Commerce sub-categories based on selected Parent Category in a wordpress widget sidebar

I have a WordPress sidebar that I want to only display the children of the parent category. My structure is as follows All Products > Parent Category > Ch

Woocommerce how to add account details to billing address automatically

I would be much grateful if you help! I have custom registration fields that are correctly saved in database and are accessible through: $user->['users_tel']

Relating Wordpress posts to a particular time of the year

I have a 'diary' type blog in which I want to highlight all the posts made around the current day and month, regardless of the year. You could say they need to

Hide WooCommerce Subscriptions 'cancel' button after 90 days

I am trying to show/hide the 'Cancel' button within the subscription details in 'My Account', based on the subscription start date. However I am finding the int

WooCommerce product images in other plugin

I'm trying to get product thumbnail images into a PDF packing slip template on a WooCommerce site, but as a beginner can't really figure out how to call the pro

Wordpress query search 's' exact word

I see this question has been posted multiple times but all of the examples I've tried are not working. I want to limit the search by keywords to only search for

WordPress edit post list

I have WordPress kanews theme. I want to list posts by update date. but unfortunately I couldn't. sorts by creation date. how can i solve this problem? List pos