How to separate page and post search results?
-
I am creating a webpage which has both lots of pages, and blog posts. I am trying to get the search results page to display first all results for pages, and then for the posts.
Is this possible with just tampering with the “loop-search.php” which I am using in my child theme, or with the files for Relevanssi?
And if not, I’ve allready found a code that includes two custom WP_QUERY loops. This works well, but then the Relevanssi plugin doesnt work. Is it possible to get relevanssi working again, by somehow hooking the new loops up with the Relevanssi plugin?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to separate page and post search results?’ is closed to new replies.