LiveSearch plugin


** Installation **

Copy the livesearch directory as-is in your wp-contents/plugins/ directory (the resulting path should be wp-contents/plugins/livesearch/ ).

Then copy the files livesearch.css and searchform.php in your wp-contents/themes/yourtheme/ directory. You can modify the colors listed in livesearch.css to match your theme.

Then enable the plugin from the WordPress plugin administration section, and enjoy!


** Note: **

You can have a copy of livesearch.css and searchform.php in each of your theme directories. searchform.php should remain unaltered, whereas livesearch.css should be modified to match your theme.

Also, the plugin has been widgetized, so if you have the WordPress Widget plugin, this plugin will replace the Search widget.


** Troubleshooting **

   ** Search box looks different, but doesn't work **
   
Your theme needs to call the header hook of WordPress, else the plugin will not work. Themes should call this hook by default, and if they don't then they're badly designed. Contact your theme creator, or add
	<?php wp_head(); ?>
just before the </head> tag in your header.php file (if it is missing).

   ** Plugin was installed, but search box does not look different than before, and doesn't seem to work **

It might be the case that your theme does not include the searchform.php file properly. If that is the case, then when you follow the instructions and install the plugin, nothing will change visually on your site. What you need to do is find the file where the search form is inserted, and replace the entire section (enclosed in <form> tags).

The section starts with something like
<form action=...
and ends with
</form>

Delete that whole section, and in its place enter this code:

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

If you can't do that (or don't want to), then contact your theme designer and ask for the searchform.php file to be properly included. Then installing this script should work just fine. 




I'll be happy to answer and try to solve any javascript and/or WordPress theme related problems you might encounter.

