Get only Categories that Contain Products on Sale
While I was working on a project, I came across a situation where I need to filter all the categories with products on sale....
Implement Google Style “Did you mean?” Feature in PHP
In this article, we will add our own "Did you mean" feature in PHP. For this, we will implement Smith-Waterman Gotoh Algorithm. We will...
Get a List of Products on Sale in WooCommerce
Displaying sale products on WooCommerce is a nice feature to have. It helps to attract more customers and increase revenue. In this article, we...
How to use Dashicons in WordPress
Dashicons were introduced in WordPress 3.8. These are official icons on WordPress. Dashicons are already included in the WordPress admin. It’s easy to add...
Customize information to WooCommerce Shop Page
In this article, we will customize WooCommerce shop and single product page. WooCommerce uses different functions to display products. But, we can override these...
Check if WordPress Plugin is Active
If you are developing a Plugin which is dependent on another plugin, in such cases, we need to check if plugin is activated or...
Check if Table or Column already exists in Database?
While working on web development, we all come on a situation where we need to check if table(s) exists on database. This mainly arise...
Understanding WordPress Template Hierarchy
WordPress is a simple, yet powerful Content Management System(CMS) build with PHP. A CMS is software that helps users create, manage, and modify content...