Hi!
I am looking for a way to present search results in my custom wordpress theme.
I was hoping being able to present the results like this:
Displaying 4 search results for "test"
Pages
- testpage 1
- testpage 2
Posts
- testpost 1
- testpost 2
I wrote a function is_type_page
that I can use inside the loop (2 loops), but this breaks the pagination functionality.
Any suggestions how to achieve this?