SearchWP Live Ajax Search GPL

$4.49

SearchWP Live Ajax Search is a WordPress plugin that adds AJAX powered live search to your search forms, showing results as visitors type.

276 Items sold in last 3 minutes
Additional

153 People watching this product now!
SKU: searchwp-live-ajax-search Category:
Description

SearchWP Live Ajax Search is a WordPress plugin that adds AJAX powered live search to your search forms, showing results as visitors type. It works with any WordPress theme, uses a template loader for results output, and does not require SearchWP — if SearchWP is installed and activated, the plugin can use your own search engines per search form. This GPL build ships the same files as the developer releases, with no vendor update channel and no vendor support desk, for $4.49.

ProductSearchWP Live Ajax Search
Version1.8.8
Works withWordPress 4.8+ / PHP 8.x+
Tested up toWordPress 7.0
LicenseGPLv2 or later
DeliveryInstant ZIP download, 10 downloads, 365 days

Live results on any get_search_form() search form

Out of the box, the plugin enables itself automatically on search forms generated with get_search_form(). No theme edits are needed for the standard form. The behaviour is powered by a single HTML5 data attribute, data-swplive="true", added to the input field of the search form.

If you want to keep a specific form as a normal submit form, the filter add_filter( 'searchwp_live_search_hijack_get_search_form', '__return_false' ); prevents automatic activation. Custom search forms are hooked by adding data-swplive="true" to the input you want to use.

Choosing between SearchWP search engines and native WordPress search

With SearchWP installed and activated, the plugin uses the default SearchWP Search Engine unless you tell it otherwise. A per-form data attribute, data-swpengine="supplemental", points a form at a different search engine name of your choosing.

Without SearchWP, native WordPress search results are provided, so the live dropdown still works on a plain WordPress install. The settings screen also includes an Enable Live Search option to automatically enhance your search forms.

Customising the results template inside your theme

Results are rendered through a template loader. The plugin folder contains a templates directory with search-results.php, which is used out of the box. To override it, create a folder named searchwp-live-ajax-search in your theme directory and copy search-results.php into it; the plugin then uses that file instead.

The plugin also outputs two sets of styles. One set positions the results wrapper correctly, the other controls visual appearance. In the settings you can pick Include Styling, Positioning and visual styling, or Positioning styling only, and choose whether the results pane appears below or above the search form.

Widget and block editor search forms

A widget ships with the plugin so you can insert live search forms wherever you want in your theme's widget areas. Search forms created from the block editor are supported as well, and version 1.8.7 renamed the editor form block to "SearchWP Form".

Recent releases added ARIA attributes to the search forms and improved the results dropdown role attribute for accessibility, plus alignment of the results dropdown with the Gutenberg search block.

What this build includes

Automatic live searchTurns any search form generated by get_search_form() into an AJAX live search that shows results while the visitor types.
Works without SearchWPFalls back to native WordPress search results when SearchWP is not installed, so the live dropdown still functions.
Per-form search engine selectionAdd data-swpengine to a form input to choose which SearchWP search engine handles that particular form.
Theme template overrideCopy search-results.php into a searchwp-live-ajax-search folder in your theme to control exactly how results are output.
Widget for live search formsInsert a live search form in any widget area using the widget that ships with the plugin.
Style and position controlsChoose positioning and visual styling or positioning styling only, and place the results pane above or below the search form.
Manual form hookingEnable live search on a custom form by adding data-swplive="true" to its input, or disable the automatic behaviour with a filter.

Installing it on a WordPress site

  1. Download the plugin package and extract the files.
  2. Upload the searchwp-live-search folder to your wp-content/plugins/ directory.
  3. Activate the plugin through the Plugins menu in WordPress, then optionally customise the configuration and the results template.

Latest changes

Version 1.8.8 improves compatibility with the WordPress 7.0 block editor so the search form's styles no longer affect the editor canvas.

Frequently asked questions

Do I need SearchWP for live search to work?

No. SearchWP Live Ajax Search does not require SearchWP. If SearchWP is installed and activated, the plugin uses your search engines and lets you pick one per form. Without it, native WordPress search results are provided for the live dropdown.

How do I add live search to a custom search form?

Add the attribute data-swplive="true" to the input field you want to hook. Forms generated with get_search_form() are handled automatically; you can stop that with the searchwp_live_search_hijack_get_search_form filter returning false.

How do I change how the results look?

Copy search-results.php from the plugin's templates folder into a folder called searchwp-live-ajax-search in your theme directory. The plugin then uses your copy, and you edit it like any other theme template file.

Can different forms use different search engines?

Yes. With SearchWP active, add data-swpengine to the form input and set it to the search engine name you want, for example data-swpengine="supplemental". Each search form can be configured separately.

What WordPress version does it need?

The plugin requires WordPress 4.8 and is tested up to WordPress 7.0. The package is a 1.0 MB zip and the current version is 1.8.8.

What do I get for $4.49?

You get the GPL build of the plugin, the same files the developer ships, priced at $4.49. There is no vendor update channel and no vendor support desk included with this build.

What the GPL build means for you

This is the same archive the developer publishes, redistributed under the GNU General Public License: you get the working files for $4.49 with no vendor update channel and no vendor support desk. If you need automatic updates or a support contract, buy the official license from the developer.

This GPL buildOfficial license
Price$4.49 one timeVendor subscription
Automatic updatesNoYes
Developer supportNoYes
Number of sitesUnlimitedDepends on plan

Browse the rest of the WordPress plugins category or the full shop. The licence text is at GNU GPL v2, and general documentation is at WordPress.org.

Reviews (0)
0 reviews
0
0
0
0
0

There are no reviews yet.

Be the first to review “SearchWP Live Ajax Search GPL”