This topic has 12 replies, 4 voices, and was last updated 9 years, 5 months ago ago by Stan Russell
I’ve noticed the “search” on the site only seems to search blog posts.
Is there a way to make it search for pages on the site? or Content on the pages of the site?
Hello,
Try to edit the file wp-content/themes/royal/woosearchform.php on line 15 and remove or comment the code <input type="hidden" name="post_type" value="product" />
and you’ll have default search.
Regards,
Eva Kemp.
I removed that line of code, however it didn’t seem to change the search results. Any other thoughts?
Thanks again.
Hello,
You may try to use some plugin for search form and remove our default form in the header.
Regards,
Eva Kemp.
k
Hello,
please let us know if your problem is solved.
Regards,
Stan Russell.
Problem is not solved. i had to add a third party plug in to get the site to search page content, But it doesn’t run well.
Hello,
You should contact a plugin author regarding the issues you’re experiencing.
Best regards,
Jack Richardson.
i understand that i would need to deal with them for plug-in related issues. I would prefer not to have to use the plug in at all that’s why i asked you guys for help.
Hello,
Please take our apologies but our theme doesn’t have a feature to search for pages through a site.
Regards,
Eva Kemp.
Not a problem, it’s a great theme & your help has always been excellent.
Hello,
you are welcome!
Regards,
Stan Russell.
The issue related to '‘Search Function’' has been successfully resolved, and the topic is now closed for further responses