Category "wordpress"

WordPress - Dynamically add user ID to the end of a URL

I'm looking for a way to have the current logged in username added to the end of a link. example: www.mywebsite.com/custom-post-type/author-post-title "author-

Display Brand Name Above Product Title in Woocommerce Cart, Checkout Page, Orders and Email Notification

Using the functions below I've applied a custom field to products added in Woocommerce cart and checkout page also to orders and notification email. My questi

Wordpress REST API user registration

I am trying to create new user with api v2 but i am getting { "code": "rest_cannot_create_user", "message": "Sorry, you are not allowed to create new

Set quantity minimum, maximum and step at product level in Woocommerce

I'm using "set minimum and maximum allowable product quantities to be added in WooCommerce Cart" to require a minimum and maximum quantity order. Now, i need to

To delete a class name 'page' from the body

I have created a Page Templates in WordPress. The body comes in the class as the following image. I want to remove 'page' class.

Get Woocommerce CoCart API response(add, update, delete) after promotion applied

I would like to get the responses of each route (add to cart, update cart and delete cart) already applied to the promotion. What I face now is it only response

How to add extra content to the WordPress admin user table Name column every cells

I want to add extra information after every name, in the name columns cells, How may I do that? default columns like names, email, role are not pass on manage_

Update Total in checkout of Woocommerce with Ajax Request

Before asking question on SO, I searched a lot about what I needed to make a ajax request with WordPress. All my code and the request is working, but is not doi

Is it possible to get an amazing Lighthouse score while using a WordPress page builder?

I'm a front end engineer working in e-commerce and marketing, and one of my routine tasks is finding out why client's websites are so slow. Most of them are on

Timber: Single post pagination does not work (wp_link_pages)

I am fairly new to Timber and I am trying to get the pagination for a single post item working. Since there are a lot of topics around the pagination for archiv

Finding and editing a WordPress site in cpanel w/o access to WordPress

I have a client who needs his website edited, he is no longer in contact with the original creator of the site, and it seems that the creator used WordPress to

Is there a way to direct logging to file instead to stdout?

How could I redirect any logging to files to stdout/err/.. ? (to be specific I have rsyslog going) Basically, I would like what WC_Log_Handler_File produces to

Plugin for automatic welcome mail on wordpress

I would like to know if there's a plugin on wordpress to send welcome mail without asking permissions to the users like he just sign in and he receive the welco

wordpress on apache2 running python as cgi

So here is what I want to do: On my Raspi a python program is running. On a wordpress site the current state of the program should be displayed and some confi

Migrating Live/production WordPress site to Laragon

I'm trying to set up my Live WordPress site into a local environment, Laragon. I have tried using a plugin call WPvivid, but it does not seem to be working corr

Migrating Live/production WordPress site to Laragon

I'm trying to set up my Live WordPress site into a local environment, Laragon. I have tried using a plugin call WPvivid, but it does not seem to be working corr

Show product count in archive page Title in WooCommerce

How to show in the archive page TITLE, the number of products, in WooCommerce? Thanks!

Show product count in archive page Title in WooCommerce

How to show in the archive page TITLE, the number of products, in WooCommerce? Thanks!

Decimal quantity step for specific product categories in WooCommerce

I would like to adjust quantity step for specific product categories to allow decimal numbers (0.5 steps specifically). A bit like in Set quantity minimum, maxi

Add rows to Single product Additional information table in WooCommerce 3.6

I am trying to add a row to Single product Additional information table. Actually is there any hooks or filter to do this? I have searched the hook but can'