
In this tutorial I'm going to show You how to create a dropdown filter with AJAX for WordPress Categories.
Step #1 - Filter posts by category
Create a file named dropdown-filter.php
/your-child-theme/ajax-dropdown/dropdown-filter.php
If You want to filter by default WordPress Posts by Categories, the following lines must be look like this
#3 'taxonomy' => 'category' #20 'post_type' => 'post',
Step #2 - Create a shortcode and place it wherever You want
Just copy this code in the functions.php
To view the full content, please sign up for the membership.
If You are already a member, please log in below:
Related Projects
You may also be interested in the following projects

Dropdown Ajax Filter for WordPress Custom Post Type Taxonomy
Ajax Featured Premium

Multiple Dropdown Ajax Filter for WordPress Taxonomies
Ajax Featured Premium

AJAX Filter for WordPress Categories with Buttons in Genesis
Ajax Featured Premium

AJAX Filter for WordPress Custom Post Type Taxonomy with Buttons
Ajax Featured Premium