Note: Advanced Search Lite has been merged with the “big” Advanced Search. However, Advanced Search 2.0 and higher are only compatible with WordPress versions higher than 2.3. Therefore, the old version of Advanced Search Lite, which is still 100% perfect for WP 2.0.x installations, will stay available from this page.
The AdvancedSearch Lite is the little brother of the popular Zirona AdvancedSearch. It is a drop-in replacement for the legacy WordPress search which will boost the quality of your searching the very instant you activate it, by using the powerful MySQL fulltext search. It also provides an easy to implement search form with extra features, and as a special topping, it will apply a multi-color search term highlighting to the search results.
The AdvancedSearch Lite plugin is Free Software licensed under the GNU GPL.
- Intelligent Search: Searches for words, not character strings
- Supports usage of boolean operators
- Nice, yet optional sidebar search form with extra features
- Search results can be ranked by relevance or date (optional)
- A blog owner can fully customize the search form
… takes less than a minute:
Have problems unpacking archives? Try the latest 7zip.
- Download it,
- Unpack it and upload the folder
advancedsearch-liteto your plugins directory,
- Activate the plugin in your admin panel: from this moment, the new search is in action. (You can test the new behaviour by searching two words which stand at different positions within one post.)
If you want the neat sidebar form, it’s just 2 minutes more:
- Insert the code
<?php if (function_exists('asl_form')) echo asl_form(); ?>somewhere in your sidebar,
- Take the contents of the file
asl.cssand add them to your main CSS (of course you may change the CSS as you like),
- The function
asl_form()has three optional boolean-type parameters to modify the displaying of certain elements: the first for displaying the title “Search” or not, the second for displaying the “sort by” section or not, the third for displaying the credits or not. For example, calling the function like
asl_form(false, false, false)would provide a quite minimalistic search form.
If you are upgrading, delete the AdvancedSearch Lite plugin folder from your
wp-content/plugins directory, then proceed as described above.
There are localized versions included with the plugin download in the following languages:
- German, search form and hints popup,
- French, kindly provided by Luc Saint-Elie: search form (translator for hints popup wanted!),
- Spanish, kindly provided by Trebol-A: search form and hints popup,
- Italian, kindly provided by Andrea Barbieri: search form and hints popup,
- Czech, kindly provided by Martin Štěpán: search form and hints popup (included with the plugin download).
If you want to translate the plugin to your own language, please read the Localisation section from the Advanced Usage page.
The plugin uses the fulltext feature of MySQL. When you activate the plugin, it will add FULLTEXT indices to the columns
comment_content. This is nothing to worry about, and you can (but don’t need to) remove it if you decide to uninstall the plugin. To understand the implications of the MySQL fulltext feature, please have a look into the according chapter of the MySQL documentation.
Feedback and improvments are as always highly welcome. Please leave a comment below. Have a lot of fun with the AdvancedSearch Lite plugin!
In case you need individual, advanced support: Zirona also provides professional support for this software and its integration on your website (as well as WordPress support in general). Please don’t hesitate to contact us and ask about our services.