Category: Wordpress Tutuorials

Bulk update product variation price woocommerce

This tutorial explains how to bulk update product variation price woocommerce. Here it reads the data from the CSV and bulk update the product variation price woocommerce programmatically.

The program reads data from the sample CSV and update the product variation price of the following attribute as shown below.Please also refer other wordpress tutorials.

Insert Update Acf image repeater field programmatically

This tutorial explains how to insert update Acf image repeater field programmatically. Here it shows how to read images from the external folder and add those images to the acf repeater image field.

Please also refer the tutorial that explains how create and update wordpress post using an external script.The data read from the CSV and create wordpress post dynamically.

Insert udpate wordpress post programmatically

This tutorial explains how to insert update wordpress post programmatically. Here it explains how to read data from the CSV file and bulk import content and create the wordpress posts programmatically.

Suppose you are trying add bulk content and images to the wordpress site sometimes it is not practical to create the post from the wordpress admin area. In that case the external script plays a good role.

User role editor access wordpress plugins

This tutorial I am explaining how to give user role editor access wordpress plugins. Suppose you have installed a plugin but the plugin is not visible to the user with role editor.Here I am showing how to make the plugin accessible to the editor without installing the additional plugins or extensions.

In the wordpress repository you can came across lot of the plugins with set user permissions to different roles.But just for a plugin it is not worth to install additional plugins. In that case please use the following code.

Filter posts by custom fields wp_query

This tutorial I am explaining how to filter posts by custom fields using wp_query. Using wordpress meta_query() parameter we can retrieve the post based on the custom field.

Here I am filtering the post based on the category name and the custom field ‘front_page’ checkbox. Then displaying those filtered posts as blocks in the home page.Please refer the image below.I have created a custom field checkbox and filtering the post based on that from the database.