This plugin adds Spotlight ™ like live search with an ajax popup to
the default search box. See the screenshot.
It can be used as a widget or directly as a PHP call in the theme.
The Live Search Plugin is heavily based on John Nunemaker’s
Addicted To Live Search.
- 1.4.7 Fix by Tony for “With mouseover on result in IE, there is no background image or color”.
- 1.4.6 Added livesearchpopup_resultsbox(width) to put the popup below a search box of your choice, e.g. from a theme.
- 1.4.4 Use wpurl instead of siteurl to allow installations of WordPress at different addresses (thanks to Draco)
- 1.4.3 Use <?php instead of <? in live-search-popup.php
- 1.4.2 Force update script to update the plugin.
- 1.4.1 Switched to the_post instead of the deprecated wp_start().
- 1.4 Finally permalinks work together with this plugin. In addition a “Show all” links was added at the bottom for the case that there are more posts than shown in the popup (thanks to Marco Luthe).
- 1.3.3 Added some print commands in front of get_bloginfos (thanks to upekshapriya who noticed that)
- 1.3.2 Force update script to update the plugin.
- 1.3.1 Relative paths in css to allow installation which are not at the domain root.
- 1.3 Fixed behaviour for change and blur events of the search box. This fixes the “click-through” bug.
- 1.2.1 Updated to reflect that it works with 2.3 as well.
- 1.2 Bugfixes
- 1.1 Bugfixes
- 1.0 First release
- Upload the entire folder named live-search-popup to wp-contents/plugins in
your WordPress installation (IMPORTANT: Do not change its name).
- Login to your WordPress administration and activate the plugin.
- Remove the original search field (either in the theme or in the
widget configuration screen).
- Two possibilities:
* Add the live-search-popup widget to the sidebar
* Or add
<?php livesearchpopup_searchbox() ?> at the place in the
theme you want the search box to appear.
* Or put
<?php livesearchpopup_resultsbox("100%") ?> below the
search box of a theme, e.g. just below the
<input type="text" line. The
"100%" is the popup width. Use
"150px" for a fixed width of 150 pixels.
The search box is in a
<div class="livesearchpopup">...</div>. So to place
the search nox more precisely just set the css properties of