This topic has 4 replies, 2 voices, and was last updated 9 years, 9 months ago ago by Eva Kemp
Hi is there a way to change the function of the search bar to look at the whole site instead of just looking at post or products? If not, then is there a way to use another search form that will.
I have another one installed but it would not override the default plugin.
Hello,
You need edit the file wp-content/themes/royal/woosearchform.php (line 15), remove the code <input type="hidden" name="post_type" value="product" />
and you’ll have default WordPress search form.
Thank you.
Regards,
Eva Kemp.
Sweet! Thanks 🙂
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Chagne Search Form to Search whole site’' has been successfully resolved, and the topic is now closed for further responses