Using Ajax in wordpress you can create your custom ajax filter to sort your post/Custom post according to categories without page refresh. Following are the procedure to achieve it : 1. HTML Note : Here filter_posts_by_category(‘cat1’, 1) cat1 is slug of the category. 2. JS 3. PHP Note : Here “course” is my custom post […]

Share This :
Read More →