Archive page no content to display

Question

I have an archive page and everything is working perfectly fine, except when someone enters a search query that returns no content (no posts were found) then I get the nothing found message.

My question is how can I target only when the search query returns nothing and have a custom template to be shown.

Thank you in advance to anyone who can help me.

0
Flare Impact 4 months 0 Answers 13 views 0

Leave an answer