Home Plugins ajax post search and filter
AJAX Post Search and Filter logo

AJAX Post Search and Filter

by niravkaneriya on WordPress.org

A lightweight and flexible AJAX-based search and filter plugin for posts. Supports multiple taxonomies and custom post types via shortcode.

(0)

AJAX Post Search and Filter allows users to filter posts in real-time using taxonomy terms like categories, tags, or custom taxonomies. Add the filter anywhere using a simple shortcode.

Shortcode

Use this shortcode:

[post_filter post="post" taxonomy="category, test" logic="saprate" load_type="button" per_page="3"]

License

This plugin is free software, released under the GPLv2 or later license.

1.1

  • Added nonce verification and user permission checks for secure AJAX requests.
  • Improved AJAX response handling and error fallback in JavaScript.
  • Optimized tax query logic with support for “AND”/”OR” filters.
  • Enhanced code structure for better maintainability.

1.2

  • Fully sanitized all AJAX input data to comply with WordPress security standards.
  • Added missing version parameters to enqueued CSS and JS to prevent browser caching issues.
  • Refactored input handling logic to pass PHPCS validation.
  • Minor code improvements for performance and readability.
Active installations0+
Weekly downloads
21
Version1.2
Last updated6/28/2025
WordPress version5.0
Tested up to6.8.1
PHP version7.4
Tags
ajax filterajax searchpost filtershortcodetaxonomy