Theme Search Bars


Optional search bars are powered using the RapidSearch plugin (not included with the theme) by Josh Lockhart. RapidSearch uses Google to fetch and display search results. When a user enters search keywords and presses return, they are forwarded onto the RapidSearch page within your website. This RapidSearch page should be named search.html and stored in the top level ( / ) of your website directory. If the page is missing or not named correctly, the search function will not work and will likely return an error 404. The quality of the search results you get back depends on how well Google has previously indexed your website. New websites may take several weeks to index fully, updates to existing websites may take several days. The page which search keywords are forwarded to can be changed in the index.html file (within the theme contents) if required. If a more advanced search function is required, the required code can be added into the index.html file. Some web host control panels used to administrate web servers may include the option for page indexing and site search ability, without relying on Google or other outsourced services. Likewise there is also a new 'pro' version of RapidSearch available, which works from an SQL database.

If you need to change the label on the search button, this can be done in the index.html file contained within the theme contents. Open this file in your preferred code editor and scroll down to the point commented 'Search Function'. The submit input label can be changed here. It is recommended you keep the search button label roughly the same size as it currently is, to avoid breakage of the search form field. Some RapidWeaver themes contain more than one search module (depending on where you choose to have it displayed) so edits may need to be made more than once.