wordpress search box
A tweak to search blog entries and pages — The default WordPress search box only searches the blog entries. I have found many people looking or providing a solution that also searches static pages. I finally settled for Advanced Search by Alex Günsche. It offers several options to search your WordPress content from a separate search form. I didn’t want to use a separate page and incorporated the advanced search into the default search box. Anybody interested, here is how I got it working:
- Install Advanced Search.
- Edit searchform.php to use the advanced search… here my example as a text file.
- Done. Try it out by searching for a word in one of your static pages.
Hope this helps,
Markus