SearchWP Live Ajax Search

Wordpress Plugin
Download latest - 1.7.3

Download Stats

Today
Yesterday
Last Week
All Time
Banner 772x250

Does not require SearchWP, but will utilize it if available. Full documentation is available at searchwp.com.

Contributions welcome on GitHub! https://github.com/jchristopher/searchwp-live-ajax-search/

SearchWP Live Ajax Search enables AJAX powered live search for your search forms. Designed to be a developer's best friend, SearchWP Live Ajax Search aims to stay out of your way but at the same time allowing you to customize everything about it. It's set up to work with any WordPress theme and uses a template loader to display results. The template based approach allows you to seamlessly customize your SearchWP Live Search implementation without messing with dozens of cluttered options.

Works best with SearchWP (but SearchWP is not necessary)

SearchWP Live Ajax Search is best utilized in conjunction with SearchWP, but it is not required. If SearchWP is installed and activated, SearchWP Live Ajax Search can be customized to use any of your search engines per search form.

Customization

You can customize the implementation of SearchWP Live Ajax Search to a great degree, including any number of developer-defined configurations. The results are based on a template loader, allowing SearchWP Live Ajax Search to stay out of your way and letting you write the results template as you would any other WordPress theme file.

Everything is powered by adding a single HTML5 data attribute (data-swplive="true") to the input field of your search form. This happens automagically out of the box for any search forms generated from get_search_form().

Widget support

SearchWP Live Ajax Search ships with a Widget allowing you to insert live search forms wherever you'd like.


Releases (35 )

Version Release Date Change Log
1.7.3 2022-11-21
  • Adds In-plugin notification system to get the latest updates from SearchWP.
1.7.2 2022-07-07
  • Adds a compatibility with the upcoming version of the SearchWP Modal Search Form plugin.
  • Fixes an issue with a legacy version of the SearchWP plugin.
1.7.1 2022-06-28
  • Fixes the translations of the plugin.
1.7.0 2022-06-27
  • Adds new Settings admin page to control the behavior of the plugin easier.
  • Introduces a significant code refactoring to improve performance.
1.6.3 2022-05-26
  • Improves sanitization of the 'swpengine' search field argument.
  • Standardizes direct access restrictions in classes throughout the plugin.
1.6.2 2022-02-23
  • Limits the arguments passed to the query when used with the WordPress native search.
1.6.1 2022-02-20
  • Fixes PHP Notice introduced in 1.6.0
1.6.0 2021-01-29
  • Adds support search form block in block editor (Gutenberg)
1.5.0 2021-01-13
  • Adds support for post_status, post_type, and posts_per_page query vars when not using SearchWP
  • Updates translation source, updates translations with fixed textdomain
  • Refactored bundle process
  • Updates bundle dependencies
1.4.6.1 2020-04-23
1.4.6 2020-03-31
  • Adds compatibility for SearchWP 4
1.4.5 2020-02-12
  • Fixes an issue with quoted phrase support
  • Fixes an issue with post types that are excluded from search when registered (applies only to searches with SearchWP)
1.4.4 2019-09-23
  • Fixes an issue with bundle.js in some cases
1.4.3 2019-09-04
  • Improves SearchWP compatibility by suppressing filters when SearchWP performs the search
  • Compatibility fix with SearchWP Modal Search Form
1.4.2 2019-08-22
  • Fixes an issue (JavaScript error) when a custom configuration disables the spinner
1.4.1 2019-08-20
  • Fixes an issue that may have prevented spinner customizations from being applied correctly
1.4 2019-08-15
  • Removes post type from default results template
  • Fixes an issue with HTML entities in search string
  • Updates translation source and translations
  • Updates bundler build process
  • Updates a11y where applicable
  • Automatically cancels pending searches when search input is changed
1.3.1 2019-05-13
  • Fixes typo in results template function call
1.3.0 2018-02-16
  • Many a11y improvements (props @geoffreycrofte)
  • Adds message when minimum characters have not been reached
  • Added German translation (props @stefan-meier)
  • Added Polish translation (props @boguslawski-piotr)
  • Added Dutch translation (props Stefan G.)
  • Updated translation source
1.2.0 2017-03-02
  • Reworked build process to be more straightforward
  • Support script debugging (props mgratch)
  • Remove form action requirement to better integrate with other code (props mgratch)
  • Fixed an issue that prevented search from firing when re-entered too fast (props pierrestoffe)
1.1.8 2016-08-02
  • Added configuration option to prevent AJAX cancellation when Enter key is pressed
  • Added some actions to make customization easier
  • Added filter to customize location of results template
1.1.7 2015-11-09
1.1.6 2015-10-28
  • Fixed an issue that prevented multiple live search instances on a single page from using different engines
1.1.5 2015-09-04
  • Fixed an issue where results_destroy_on_blur was not properly applied if a custom configuration was used but that property was not defined in the custom configuration
1.1.3 2015-08-15
  • Fixed an issue with the build process which introduced an outdated version of the plugin JavaScript assets
1.1.2 2015-08-06
  • No longer limit results to built in post types
  • Added results_destroy_on_blur config option to prevent automatic removal of results window when clicking outside results pane
1.1.1 2015-07-16
  • Fixed an issue that prevented SearchWP Supplemental engines from showing up in the Widget config
  • Added French translation
  • Added Serbian translation
1.1 2015-04-21
  • Define default post statuses when using WordPress native search
  • New filter searchwp_live_search_query_args to manipulate query args before searches
  • Fixed an offset when positioning results on top of the search field
1.0.6 2014-07-10
  • PHP Warning cleanup
1.0.5 2014-07-10
  • New action: searchwp_live_search_alter_results
  • Adds Relevanssi support (based on Dave's WordPress Live Search's implementation)
1.0.4 2014-06-04
  • Corrected the default results template folder name to be searchwp-live-ajax-search as is in the documentation
  • Improvement: hide the results box when query is emptied (props Lennard Voogdt)
  • Fixed an issue with Media not showing in results when integrated with SearchWP
1.0.3 2014-05-23
  • Fixed an issue where a false set of no results would be returned (props Lennard Voogdt)
1.0.2 2014-05-06
  • Resolved an issue where hitting Enter/Return prevented the search query from being passed to the results page
  • Fixed potential false positive for DOING_AJAX (props justinsainton)
  • Removed unnecessary call to get_the_ID() in the default results template (props justinsainton)
  • Added escaping to permalink and post type name in the default results template (props justinsainton)
  • Utilize a WordPress core translated string instead of a custom one (props justinsainton)
  • Increase the priority for the get_search_form filter so as to accommodate existing filters
1.0.1 2014-05-05
  • Fixed a directory URL issue
  • Fixed an indexOf JavaScript error
1.0 2014-05-05
  • Initial release!