Want to stop all posts returned if search field left blank
-
If you click search without having entered anything in the form (on the blog – not the admin), it automatically returns all posts as the results. Short of having the search field pre-filled with something (which is my last ditch effort idea) – how can I stop this from happening? I’d like for it to return no results if nothing was entered.
Many apologies if this is covered elsewhere, but searching support doesn’t seem to be cooperating with me tonight. Thanks in advance for any help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Want to stop all posts returned if search field left blank’ is closed to new replies.