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...
View ArticleGet 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...
View ArticleHow 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....
View ArticlejQuery 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>). <script type="text/javascript"> jQuery(document).ready(function($) { $(function() {...
View ArticleHow 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,...
View ArticleHow 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...
View ArticleHow 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...
View ArticleHow to send purchase note in Admin Email Woocommerce
Purchase notes are added to Processing Order emails of woocommerce by default. To send purchase notes in admin email you have to use below code. This code will go into your active theme’s...
View ArticleHow to get only first category name in single.php
I was working on a project and need to show only the name of first category assigned to a post. The below code helped me achieve that quickly. $categories = get_the_category(); if ( ! empty(...
View Article