Ajax Search Lite is a live search plugin for WordPress. This responsive live search engine, which will boost your user experience by providing a user friendly ajax powered search form – a live search bar. You can filter the results with the category and post type filter boxes as well. Google autocomplete and keyword suggestions also included.
Very smooth animations with mobile device support and regular updates. Use Ajax Search Lite as a replacement for the default WordPress search with a better looking, more efficient search engine.
Fine-tune the user experience by providing a powerful ajax search plugin to your visitors. Supports custom post types and custom fields and more. Boost your site search engine with this custom built live search engine.
Ajax Search Lite and Ajax Search Pro does not require monthly subscriptions, does not store your data on external servers – everything is done locally, on your server.
Features List
Search in posts and pages
Search in custom post types such as WooCommerce Products, Events, Portfolio items and more
Search in title, description, excerpt, categories and tags and any custom fields
Archive page live loader and filter
Automatic search replacement as well as widget and shortcode availalbe
Custom Filter boxes (checkbox filters) for categories and post types
WPML, Polylang and QtranslateX compatible
10+ built in templates + options for color adjustments
Retina ready vectorized SVG and CSS3 icons
Category and post exclusions
Frontend search settings boxes
Images in search results
Fully ajax powered
50+ options on the backend
Caches images for faster response time
Performance Options
Google analytics integration – both as Events and Pageviews
“Beyond the live search, it also makes your search much more complete. You’ll be able to include custom fields, comments, and more in your search index.” – Ben Pines – Elementor
“Consider this plugin if you’re looking for a professional live search offering.” – Tom Ewer – WPMU Dev
“Ajax Search Pro plugin gives you a live Ajax search, so much comfortable search experience” – Dragan Nikolic – Thematosoup
“As the name suggests, the core value of Ajax Search Pro is the ability to add Ajax live search to WordPress.” – Colin Newcomer – aThemes
After an update, the plugin stopped working or the layout is broken
It is most likely a cache related issue. Make sure to clear all website cache, including page, minify, browser and CDN as well.
After that, refresh your browser window by hitting CTRL + SHIFT + R buttons (CMD + SHIFT + R on Mac) a few times.
The images are not showing, what is wrong?
The search parses the first image from the post/page content. Most likely there
is no image in post.
When I type in something, the search wheel is spinning, but nothing happens
It is most likely, that another plugin or the template is throwing errors while the
ajax request is generated. Disabling all the plugins one by one can help you rule out which plugin
is creating the issue.
I disabled all the plugins but the search wheel is still spinning to infinity, nothing happens
You should contact me on the support forum with your website url. I will check your website
and will let you know what to do.
Where do I report security bugs found in this plugin?
Please report security bugs found in the source code of the
Ajax Search Lite plugin through the Patchstack
Vulnerability Disclosure Program. The
Patchstack team will assist you with verification, CVE assignment, and
notify the developers of this plugin.
Further security improvements on the form inputs and labels
Changed some back-end labels for more clarity
4.12.4
Removed some unused code
Greatly improved security for the back-end UI against potential XSS attacks
4.12.3
Added the missing Menu ordering ASC/DESC for the secondary ordering as well
Corrected the previous fix for the low rist XSS issue
4.12.2
Fixed a possible XSS security issue – reported by Dmitrii Ignatyev from cleantalk
4.12.1
Fixed a dependency issue with the old widgets screen and the search bocks
Fixed the widget title output, so when it’s empty, it no longer outputs the widget title
Fixed a potential XSS vulnerability for the back-end options interface
4.12
Added support for Block Editor – the Ajax Search Lite block should be available for Gutenberg
WPML String translations updates
PHP 8.3 compatibility fixes
Fixed an issue with the post_parent shortcode attribute
Fixed an issue with form width/flex with some themes
4.11.5
Improved the results keyword highlighter – now does not need to use the local storage
Fixed a few PHP>8.2 deprecation issues
Removed some CSS files, which are no longer needed for the back-end
Fixed a potential CRSF & XSS issue identified by Le Ngoc Anh
4.11.4
Fixed a layout issue with the magnifier icon
4.11.3
New shortcode argument: post_parent=”1,2,3″ – where the search results can be restricted to the list of parent posts (or any other post type IDs). Ex: [wpdreams_ajaxsearchlite post_parent="1, 2, 3, 4"]
Added tabindexes (tabindex=0) to the filters for better navigation
Moved the magnifier button in the DOM to after the input field
Greatly improved the custom field search logic and performance
Changed the button inner div tag to a span for validation
4.11.2
Fixed an issue with duplicated filter checkbox IDs (label removed, replaced with aria-label) for accessibility
Changed the “more results” element from an anchor to a span for better compatibility with menu positions
Added an inline position correction script – when the plugin is placed within a menu, the parent is usually an anchor – in that case the plugin will automatically replace the anchor with a DIV so the layout is valid
Various cosmetic fixes for the back-end
4.11.1
Fixed styling for back-end advanced options tab
Improved security for custom field search handler and maintenance panel
4.11
Added options to change the accessibility “aria” form labels excplicitly
Changed the live results image containers and added loading=”lazy” attribute for native lazy loading support
Fixed an issue with the “More resulst” link
Fixed an issue with the google analitycs tracker script
Adjusted the tabindexes for better compatibility
Added a nonce for the custom field selector setting for better security
Removed a large chunk of unused and deprecated code
Removed the simplebar script
Removed all the old jQuery legacy scripts
4.10.3
Added a few lines of CSS to fix common layout override issues
Changed the autocomplete field for a negative tabindex, so it is excluded from keyboard navigation
For better compatibility, changed the javascript response delimiters to not include “!” characters
Fixed an issue with the japanese ideographic space character
Fixed an issue with the search box container width
Fixed an issue, where the plugin width would “jump” whenever placed in a dynamic width element
4.10.2
Fixed an issue with the script destructor for the init method
Updated core .pot translation file
4.10.1
Added a new option to change the results box snapping
Improved Init method – Using intersection observer for the init script instead of the “inViewPort” solution
Now every existing installation is switched to the new, more powerful non-legacy scripts. The legacy scripts are now deprecated.
Improved the browser pushstate (back and forward) button behavior
Scrollbar script disabled and deprecated by default – using modern browser scrollbar styling instead
Greatly improved the loading of the single font asset
Fixed the keyboard navigation for the results
Fixed an issue with the thumbnail generator library
Fixed a z-index issue when the search was placed in a fixed container
Fixed an issue with accented characters in the keyword highlighter feature
Hovering results and settings box positioning – fixed an issue, where the body margin was incorrectly subtracted from the position, when body transformation was not present
Fixed an issue with accented characters in the keyword highlighter feature
4.10
The plugin no longer requires jQuery, it had been reworked to more efficient ES6 standards. By default, the old “legacy” scripts are still in use for existing installations – please see this documentation on how to change it. It will be automatically changed in a future release.
Added an option to change the results window width
It is now possible to change the date format manually for the live results
Fixed various minor issues
4.9.5
Image parser – now handles array (of images) values from custom field sources
Scrolling now does not trigger checkbox selection on mobile devices
Scrollbar script updated to a newer release (IE Edge only support)
4.9.4
wp_get_attachment_image_url instead of the wp_get_attachment_url is used for custom field images so the size argument is applied to them
Fixed the issues with the new widgets screen, the styling should now correctly appear
Polylang issue fixes – now the results page should respect when the polylang compatibility is turned off
Keyword suggestions now working correctly
Polylang – better compatibility when the site language is selected
Fixed an issue with the script registration process
4.9.3
Fixed: image parser now works correctly, when the result descriptions are turned off
Improved: the plugin script now tries to detect possible loading conflicts or timing issues and tries to resolve them
4.9.2
Fixed: Pagination on results page missing
Fixed: Some strings on the back-end incorrect
Fixed: Divi visual builder not working
4.9.1
Fixed: Category exclusions sometimes caused missing results
4.9
Added: Keyword highlighting and scrolling on the single results page
Added: JS hooks
Added: Options to change theme colors, result background, results box background, title fonts, description and other fonts
Added: Ordering – by menu order and by custom field added
Added: advanced title and content fields
Added: description context option
Added: exact match location option
Added: image options -> background cover
Added: Advanced Options -> Keyword exceptions tab
Added: image options -> image filename exclusions
Changed: Updated the engine and the API from the Pro version
Changed: jquery.gestures.js removed – not needed anymore
Compatibility checked against WP 5.7
Fixed: Posts per page option – changed to “auto” by default, parses the wordpress value if not set
Fixed: Results keyword highlighter now supports accented/non-accented keywords
Fixed: Context finder function – fixed an issue when the minimum word length is below the first phrase word lenght, the function returned the incorrect (long) string
Fixed: Context finder function – now accented and non-accented variations will also work
Fixed: Russian quotation marks for exact matches are now recognized: «»
Fixed: wp_localize_script – some uses of that function replaced with an internal solution, to prevent cache plugin incompatibilities
Fixed: Known possible jQuery.migrate deprecation warnings
4.8.6
Added: get_asl_result_field and the_get_asl_result_field functions
Reset/Wipe options now work correctly
Issue on multisite results pages
Fixed missing script files from previous commit
4.8.5
Option to exclude Password protected posts
Exact matching – Full exact matching added (mathing a field exactly, from start to the end)
asl_load_css, asl_load_js and asl_load_css_js hooks – when returns true, the JS, CSS or both are stopped from loading
WP 5.6 compatible
Image parsing on multisite – now automatically tries to fetch the images from across blogs on the results page
4.8.4
Option to exclude WooCommerce hidden catalog products
Fixed issues with the singleton class structures: https://wordpress.org/support/topic/feature-requests-177/#post-13145770
Detection the search within dynamically loaded elements – like Elementor pop-ups and similar.
Removes shortcodes and embed Gutenberg blocks from the content
4.8.3
Better escaping method
Possible security issue fixed
4.8.2
Reworked Google Analytics integration – supporting Events tracking and both Universal and Gtag integration methods
4.8.1
Image parser – now the number of image to get from the content can be defined. The parser will check for alternative image attributes as well
Scrollbar script switched to simplebar
Results box now supports multiple, adjustable number of columns
Width options – now adjustable for desktop/mobile/tablet versions
Multiple jQuery version detection
WordPress 5.4 compatibility tested
Some language strings corrected
4.8
Basic RTL layout support
Duplication check – the script now detects and tries to fix duplicate output (ex. menus cloning the search bar) and fixing it’s functionality automatically
Removed some old MS CSS filters (alpha opacity)
4.7.26
Date format now follows the WP date format
Analytics is now correctly triggered only when the search is finished
Results page results are no longer limited to a maximum of 500
Polylang translated WooCommerce product variations are now display correctly in the correct language
New option: Results count per page (General->Behavior), to adjust the results count per page
4.7.25
Fixed an issue with the content image parser, that was introduced in the previous release by accident
4.7.24
Image parser – now correctly parsing images from post excerpt and contents, even if these fields are not in use
4.7.23
Exclude posts – input validation (to prevent extra commas at the end)
Image parser – now correctly gets the first image from post contents/excerpts, instead of the second
4.7.22
Fixed a rapid return key trigger prevention method
4.7.21
Added: Search By post/cpt ID
Added: Searching other post statuses is now possible
Fix: More robust https detection, as in some cases incorrectly configured site URLs resulted in wrong protocol urls
Fix: ‘Redirect to first result’ feature now correctly redirects on both cases
4.7.20
Custom CSS box
Pro and Lite version differences list
Analytics tracker fix
Protocolless resource URLs replaced with protocoled version for better compatibility
4.7.19
Added OR and AND logic with exact word matches + notice about word boundaries for clarification
Added a notice for the back-end, when choosing the Post override method, that the plugin may use Cookies to store the pagination and the filter states (functional cookies only)
Better stripping of CSS and script contents
Back-end override no longer triggers, when the Post method is enabled
Analytics tracker – support of 3rd party plugins and the __gaTracker function
domDocument and multibyte functions check before use
4.7.18
Fix – Minification issue causing a scrollbar malfunction fixed
4.7.17
Change – Main LIKE query re-worked: better cross-field (title, content etc..) matching, better relevance calculation and faster execution
Change – Words within double quotes will now be matched exactly (in order), and can be combined with other keywords. For example, entering phrase – “nobel prize” 2018 – will use keywords: “nobel prize” and “2018”
Change – The default keyword logic set to AND
Fix – Remaining form title labels moved to aria-label attributes