Hide Specific Categories From Category Widget in WordPress

By: Prem Tiwari | Last Updated: | In: WordPress Snippets


If you want to remove the categories from the category widgets, then keep your eye on this tutorial as I am going to share how to hide specific categories from category widget in WordPress. This is a simple WordPress snippet to remove categories from WordPress widgets. Copy the below code and add at the end …

How to Remove Categories From The WordPress Homepage

By: Prem Tiwari | Last Updated: | In: WordPress Snippets


This is the very short tutorial, which describes how to remove categories from the WordPress homepage. If you want to hide the posts of some specific categories from the homepage, then keep your close attention on this post as I am going to share how to remove categories from the WordPress homepage. How to Remove …

How to Add Extra Field in WooCommerce Shipping Calculator

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


Hi friends, hope you are doing good. In today’s tutorial, I am going to share how to add extra fields in WooCommerce shipping calculator. Open your WooCommerce plugin folder and copy the template folder and paste it into your activated theme folder like your-theme-folder/woocommerce/template. Now open the shipping-calculator.php file from woocommerce/templates/cart folder and replace the …

How to Display Related Posts Without Using Any Plugin

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


If you want to display the related post on every single post page without using any WordPress plugins, then keed your close attention in this tutorial as I am going to share how to display related posts without using any plugin. There are various WordPress plugins are available in WordPress plugin repository, but if you …

How to Remove Shipping Calculator From WooCommerce Cart Page

By: Prem Tiwari | Last Updated: | In: WooCommerce, WordPress Snippets


In this tutorial, I am going to share how to remove shipping calculator from WooCoomerce cart page. There are two ways to remove the shipping calculator from cart page. You can remove shipping calculator from cart page by following the below steps: Step 1 – After login to your WordPress admin and navigate to the …

Exclude Products From a Particular Category on The Shop Page in WooCommerce

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


In this tutorial, I am going to share how to exclude products from a particular category on the shop page in WooCommerce store. If you want to hide products from the specific category in your WooCommerce store. Exclude products from a particular category on the shop page Copy the below code and add at the …

How to Regenerate The Default WooCommerce Pages

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


Hi friends, hope you are doing good. In today’s tutorial, I am going to share how to regenerate the default WooCommerce pages. How to Regenerate The Default WooCommerce Pages By default, it will be generated while you have installed the WooCommerce on your WordPress site, but by mistake, if you have deleted the WooCommerce page, …

How to Add an Extra Surcharge to Cart in WooCommerce

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


If you want to add an extra surcharge on all transactions on your WooCommerce store, then keep your close attention in this tutorial as I am going share how to add an extra surcharge to cart in WooCommerce store. Change the $fee to set the surcharge to a value as per your requirement. Below code …

How to Change The Default State And Country on The Checkout

By: Prem Tiwari | Last Updated: | In: Code Snippets, WordPress Snippets


If you want to set the default shipping country and shipping state on the checkout page in your WooCommerce store, then keep your close attention in this tutorial as I am going share how to change the default state and country on the checkout page. How to change the default state and country on the …

How to Hide Other Shipping Method if Free Shipping Available

By: Prem Tiwari | Last Updated: | In: WordPress Snippets


In this tutorial, I am going to share WooCommerce tricks which helps you if you want to hide other shipping methods if free shipping method is available on your WooCommerce store. How to hide other shipping method if free shipping available Copy the below code and add it at the end of the functions.php file. …