Empty search returns home page, how to return not found search page?
Here are 3 ways of fixing this, I advise you use solution 2, but pay attention to the jQuery in solution 1 as a way of avoiding the situation in the first place. For those wanting more code posted from the question askers theme, this is not a theme issue, this is a general WordPress … Read more