How to show ‘No results found’ only when 0 posts are in query?
-
Hi!
I have a custom results.php setup. After the else statement, I have a “No results found” message. This message gets shown also on the last page of a query that has other posts. I only want this message to be shown when the query has 0 posts. How can I achieve that?
- The topic ‘How to show ‘No results found’ only when 0 posts are in query?’ is closed to new replies.