WooCommerce Custom Products Per Page Dropdown

Introduction In this tutorial, you will learn to add dropdown which controls maximum how many products to show on a page. This tutorial is the continuation of custom sorting tutorial We will add a dropdown with selection options 4, 8, 16, 32 and All to control our products per page logic We will add our […]

WooCommerce Custom Product Sorting

Introduction In this tutorial you will learn how to add custom sorting for the product archive page Renaming the existing sorting option Re-ordering the option in sort dropdown Overriding sorting form template and add meaningful title for the sorting dropdown Quick overview of how to create plugin (Yes, all our customisation are plugin based except […]

WooCommerce Theme Overriding

Introduction For every task there are many good and bad ways to do that WooCommerce theming also fall under this prey like directly editing the WooCommerce template files In one fine day WooCommerce may release a new version, you unintentionally update the WooCommerce plugin which results in replace of your beautiful custom shop page into […]

Create Executable Images

Introduction In this tutorial you will learn how to create executable image file Using the image you can perform any programmatic logic behind displaying an image The image created using PHP may not look unusual except the file extension will be .php We will overcome this drawback with Apache’s htaccess file with rewrite rules to […]

Inside the PHP

Introduction Ever wonder what’s inside the PHP. How every language construct, function works. How optional parameters handled. Why certain functions behave weird and want know their inner working. That’s why I bring this tutorial to how easily navigate to the function declaration and understand it easily. Since PHP is opensource you can see all source […]

How to do REST API call and read/write excel file using Python 3

Introduction Today we are going to see how to read the excel’s each cell and pass the value to the REST API request On successful response we will parse the JSON response Read the JSON element and write it to the excel Prerequisite In your terminal or CLI run pip3 install package_name (Based on your […]

Shortcut to run previous shell command as superuser

Old Procedure Most of the time when we execute a permission required command but we forget to add sudo at the start of the command then terminal throws the error permission denied So what we will do enter up arrow (navigation key) and enter home or continuously press left arrow key to go to the […]

The Devilbox

Introduction In past days replicating the development environment of one machine to another is difficult We can’t assure each system is exact clone of other system But by using Devilbox we can create a highly customisable dockerized LAMP stack No need worry about operating systems if all system have identical .env file then all system […]