How to remove chrome 301 redirect cache

Recently, I was working on a client’s website and have to change hosting of it. After DNS updates, we got stuck in the 301 redirect loop that never allows to visit the site. After a lot of search online, I...

/ October 25, 2019

How to get posts assigned to current taxonomy

Suppose you have created a custom post type with taxonomy. Now you want to create custom template for the taxonomy. To do this, you will have to create a file and upload it to the active theme folder with the...

/ September 24, 2019

How to show SKU on cart and checkout page in woocommerce

Hi friends, I was working on a project where we need to show product sku code after product title in cart and checkout pages. Our theme was custom built so it doesn’t has this feature by default. So, we have...

/ April 16, 2019

jQuery smooth scroll to anchor minus set amount of pixels

Please add this code in footer.php file of your active theme just above closing body tag (</body>). For any questions, feel free to ask me in comments.

/ April 13, 2019

How to disable gutenberg without any plugin

You just have to add this line of code at the end of your active theme’s functions.php file and it will disable gutenberg content builder to show on your pages and posts etc. add_filter('use_block_editor_for_post', '__return_false');

/ March 19, 2019

Get post category names with separator in loop

I was working on a theme recently and have to show category names (comma separated). So, i found this useful piece of code. You can change the comma inside quotes (‘, ‘) in last line to anything you like for...

/ August 26, 2018

How to add instagram feed to your wordpress website

In this article, we will learn to add instagram feed into wordpress website in minutes with no coding knowledge required. So, let’s get started. First of all you will need to install “Instagram Feed plugin” by Smash Balloon. Installation: 1....

/ June 28, 2018