-
How To Create Custom AJAX Posts Load More Plugin In WordPress
Introduction This tutorial will explain how to create your own custom AJAX load more plugin very easily and responsively This plugin is developed using plain JS instead of the jQuery library This plugin will load a set of posts of the specific category in grid-card fashion with a load more button To load remaining posts of that specific category click the load more button You can download the plugin source from GitHub Each card holds post image, title, excerpt and read more button for reference you can check the below image Let’s Explore The ShortCode As described in the readme…
-
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 code logic to our existing plugin repository in GitHub in a new branch v2 For your easy understanding of the logic lets, we see each and individual method with its filter separately in it’s each section instead of skimming the code from top to bottom…
-
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 adding title to the sorting dropdown) Quick Overview Plugin Creation Go to the following path wp-content/plugins in your WordPress Project Create a new directory and name it like vg-woo-sort For naming the plugin I follow the following convention either my initial or project initial hyphen…