Blog

Author name: Rohit Sharma

wordpress-ajax-tutorial

Filter / Sort post by categories using Ajax in WordPress.

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 …

Filter / Sort post by categories using Ajax in WordPress. Read More »

Share This :