Separating search results by post type
-
I’d like to separate the search results by post type. Currently, they’re all listed in the same loop, with pages listing first, then posts listed after. But I’d like to have them separated in two tabs…a tab for page results, and another tab for post results.
Is this something that anyone here has had success doing while also using Relevanssi?
I tried using the solution from this Stackoverflow answer, but couldn’t get pagination to work right, nor could I get it to work with Relevanssi.
I understand this may be outside of the scope of this plugin, but I would think this kind of thing would be so beneficial. If anyone has had any success achieving something like this please let me know. Thanks!
- The topic ‘Separating search results by post type’ is closed to new replies.