Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On my website when you submit an empty search box it takes you to a page that says nothing found however the navigation menu isn't displayed but it does when you enter a search term (whether it finds anything or not). How do I change it so that if a person submits an empty search it either doesn't do anything or takes them to a nothing found page with the navigation menu displayed. If I am correct it is loop.php that needs editing but I have tried different things based around my searches on the internet with no result please could someone help me with this problem?

Thanks

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.