Registering and displaying custom menu in WordPress

add to your function.php file the following code :

then in a template file in a place where the menu need to be displayed :

       

Continue reading


How to remove Review tab from your WooCommerce project

If you are looking for a simple way to remove the “review” tab from the single product view throughout your project you need to add the following snippet to the function.php file of your theme:  

 

Continue reading


SQL query to export all WooCommerce products

If you want to get all the WooCommerce products ready to be saved into a CSV / Excel file run the following query:  

 

Continue reading


How to limit available product to one per user – WooCommerce

Add the following snippet to your functions.php file in your theme.

 

Continue reading


How to Display Empty Product Categories in WooCommerce

WordPress with WooCommerce extension by default hides categories which have no products inside. Unfortunately for some reasons there is no option in the backend of WooCommerce to change it. We need to add a simple snippet code to our functions.php file:

       

Continue reading