How to hide other shipping method when usps shipping is available

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


In today’s tutorial, I am going to share how to hide other shipping methods when USPS shipping is available for Alaska & Hawaii State in your WooCommerce store. How to hide other shipping methods when …

How to Protect WordPress against malicious URL requests

Posted by Prem Tiwari | Updated on | in General, WordPress Snippets.


Hi friends, hope you are doing good. Today, I am going to share a very useful WordPress code snippet which helps help you to protect against malicious URL requests in your WordPress sites, so keep …

How to re-write the search url in WordPress

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


Hi friends, hope you are doing good. Today, I am going to share a very useful WordPress code snippet which helps you to customize the default search URL to SEO friendly URLs in WordPress, so …

How to exclude custom post type from search in WordPress

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


Hi friends, hope you are doing good. Today, I am going to share to a very useful WordPress code snippet which helps you to customize the default search feature of WordPress, so keep your close …

WordPress breadcrumbs without using plugin

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


Breadcrumbs play the good role in the term of SEO (Search Engine Optimization) and also it would be user-friendly to navigate to the parent pages of currently viewing page. In this tutorial, I will explain …

Display “Product already in cart” instead of “add to cart” button

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


If you are looking for changing the “Add to cart” button to something like “product already in cart” if that product is already in customer cart, then this tutorial is for you. I am going …

How to get the complete list of product categories in WooCommerce

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


If you want to get the complete list of product categories on your WordPress site, then keep your close attention in this tutorial as I am going to share how to get the complete List …

How to Set the Minimum Order Amount to Checkout in WooCommerce

Posted by Prem Tiwari | Updated on | in WordPress Snippets.


Hi Friends, hope you are doing good. If you want to set the minimum amount for checkout on your WooCommerce store, then keep your close attention in this tutorial as I am going to share …

How to Create Specific Menus in a Particular Page

Posted by Prem Tiwari | Updated on | in Code Snippets, WordPress Snippets.


One of my website visitors has requested to share a tutorial which describes how to create specific menus in a particular page. Here is the question “Can I specify different menus for the different page …

Hide Specific Categories From Category Widget in WordPress

Posted by Prem Tiwari | Updated on | 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 …

How to Remove Categories From The WordPress Homepage

Posted by Prem Tiwari | Updated on | 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 …

How to Add Extra Field in WooCommerce Shipping Calculator

Posted by Prem Tiwari | Updated on | 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 …

How to Display Related Posts Without Using Any Plugin

Posted by Prem Tiwari | Updated on | 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 …

How to Remove Shipping Calculator From WooCommerce Cart Page

Posted by Prem Tiwari | Updated on | 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 …

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

Posted by Prem Tiwari | Updated on | 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 …