Different search forms which search different categories?
I’m working on a site which uses a single installation of WP as a CMS for the main site, as well as for a blog on the same domain.
The main site uses both pages and posts (posts are used for things like papers and news items). The blog uses posts for blog posts. The different types of posts are of course defined as different categories.
The client wants to have 2 different search forms on the site, which have different scopes. The first will search the entire site. But a second will be used to search only a sub-set of categories – i.e. this search box will be used to search blog posts only.
In addition the 2 different search forms need to return search results that are styled differently (as well as searching in different categories).
Does anyone know if this is possible and how I might go about implementing it?
- The topic ‘Different search forms which search different categories?’ is closed to new replies.