Creating a search page which separates Posts from Pages?
-
I am building a site which relies on WordPress as a CMS. The front page is a static page, there are going to be several hundred pages of content as well as several hundred imported blog posts.
I’ve used a plugin called Search Everything to include pages and metadata in my searches. The problem is that the pages and posts on my site are logically separate, but all come up mixed together on the same search page. Does anyone know of a way to split up the search results so that Posts and Pages are returned separately?
Alternately, I suppose I could have one search box for Pages, and another search box on the blog that only returns results from Posts. Sounds weird, but that makes more sense than lumping them together in one page. Is it possible?
- The topic ‘Creating a search page which separates Posts from Pages?’ is closed to new replies.