Plugin / SearchWP Live Ajax Search

Jonathan Christopher

Frequently Asked Questions (FAQ)

Of course! Full documentation
SearchWP Live Ajax Search will automatically enable itself on any search forms generated with get_search_form(). You can prevent that with the following filter: add_filter( 'searchwp_live_search_hijack_get_search_form', '__return_false' ); If you would like to manually enable SearchWP Live Ajax Search on a custom search form, simply add the following data attribute to the input you want to hook: data-swplive="true"
By default, SearchWP Live Ajax Search uses the default SearchWP Search Engine if you are using SearchWP. If you don’t have SearchWP, native WordPress search results are provided. If you would like to customize which search engine SearchWP uses, simply add the following attribute to the form input: data-swpengine="supplemental" replacing ‘supplemental’ with your desired search engine name.
SearchWP Live Ajax Search uses a template loader. In the plugin folder you will find a templates folder which includes search-results.php — that is what’s used out of the box to output search results. To customize that output, simply create a folder called searchwp-live-ajax-search in your theme directory and copy search-results.php into that folder. SearchWP Live Ajax Search will then use that file instead of the one that shipped with the plugin, and you can customize it as you would other theme template files. SearchWP Live Ajax Search also outputs two sets of styles. The primary set of styles simply preps the results wrapper to be positioned properly. The second set of styles controls the visual appearance. This abstraction was made to ensure customization is as straighforward as possible. You can disable the default ‘theme’ by dequeueing the applicable stylesheet, and you can also disable the foundational CSS as well. More information available in the documentation.
SearchWP Live Ajax Search uses a filter — searchwp_live_search_configs — that allows you to fully customize the configuration used. Simply add a new key to the array passed through that filter, customizing the default values to whatever you want.

Ratings

5
21 reviews

Rating breakdown

Details Information

Version

1.4.4

First Released

13 Sep, 2016

Total Downloads

199,346

Wordpress Version

3.9 or higher

Tested up to:

5.2.4

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.