Wordpress tutorials

WordPress modal popup without plugins

The first step to creating a pop-up in WordPress without plugins is to create the pop-up content using Gutenberg blocks. Save it as a reusable block and get its ID. This ID should now be inserted into the code below and this code should now be pasted into the functions.php file.

Bulk update WooCommerce product price programmatically

With the following formula, you can set the price of all To bulk update WooCommerce product prices programmatically, first copy the following code into the "functions.php" file: Now you can decrease or increase the price of all products by giving the formula to the "$price" variable.