Styling different search result groups
-
Hello,
I’m using this solution to sort my search results from different post types: https://www.relevanssi.com/knowledge-base/separating-posts-by-post-type/
Working great. But I would like to style each group of results differently, (see screenshot: https://screencast.com/t/hTfDlUiBiA), so how can I further group these results in my search results template, so I’m able to wrap these in different div’s to help style them differently?
Is there an if statement I can use to say something like (if post_type => “people”) or something like that?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Styling different search result groups’ is closed to new replies.