All Search Results are returned if no Search Results found for search term

[ad_1]

Hi,

If I search for a word that I know is not on the website currently WordPress search returns all results. This can be a little confusing to users as they may think the word has been found.

Is there a way to return no results if no matches are found and all results if no search query is given?

This also seems to happen if I use WP Gridbuilder Search Text Facet.

Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer