I’m in the middle of creating a new theme and after testing my search results it seems one of the results is always excluded. So for example the $wp_query->found_posts will say I have 14 search results but only 13 are shown, or if I have 1 result 0 are shown. Switching back to the default theme fixes the issue so it’s definitely something in my theme causing it. I’ve removed everything from the theme bit by bit to try and find the cause but nothing fixes it. I’m pretty sure I’ve closed all queries and/or reset queries and the search has no custom query.
Has anyone come across such an issue before and have any suggestions?
- The topic ‘Search Results Problem’ is closed to new replies.