Search Function - by olproject - on WordPress WooCommerce support

This topic has 12 replies, 4 voices, and was last updated 8 years, 10 months ago ago by Stan Russell

  • Avatar: olproject
    olproject
    Participant
    May 28, 2015 at 21:20

    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?

    11 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    May 29, 2015 at 08:27

    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.

    Avatar: olproject
    olproject
    Participant
    June 3, 2015 at 20:57

    I removed that line of code, however it didn’t seem to change the search results. Any other thoughts?

    Thanks again.

    Avatar: Eva
    Eva Kemp
    Support staff
    June 4, 2015 at 08:20

    Hello,

    You may try to use some plugin for search form and remove our default form in the header.

    Regards,
    Eva Kemp.

    Avatar: olproject
    olproject
    Participant
    June 9, 2015 at 19:17

    k

    Avatar: stan
    Stan Russell
    Participant
    June 10, 2015 at 08:34

    Hello,

    please let us know if your problem is solved.

    Regards,
    Stan Russell.

    Avatar: olproject
    olproject
    Participant
    June 24, 2015 at 07:17

    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.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 24, 2015 at 10:00

    Hello,

    You should contact a plugin author regarding the issues you’re experiencing.

    Best regards,
    Jack Richardson.

    Avatar: olproject
    olproject
    Participant
    July 6, 2015 at 06:45

    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.

    Avatar: Eva
    Eva Kemp
    Support staff
    July 6, 2015 at 08:52

    Hello,

    Please take our apologies but our theme doesn’t have a feature to search for pages through a site.

    Regards,
    Eva Kemp.

    Avatar: olproject
    olproject
    Participant
    July 7, 2015 at 01:47

    Not a problem, it’s a great theme & your help has always been excellent.

    Avatar: stan
    Stan Russell
    Participant
    July 7, 2015 at 08:54

    Hello,

    you are welcome!

    Regards,
    Stan Russell.

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Search Function’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.