Search only for products not for blog posts

This topic has 2 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Eva Kemp

  • Avatar: Supermark
    Supermark
    Participant
    February 11, 2016 at 19:27

    Hi there,

    how can I make sure that the search also searches the blog entries?

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    February 12, 2016 at 12:58

    Hello,

    You may try to remove the code <input type="hidden" name="post_type" value="product" /> in line 12 in the file wp-content/themes/classico/framework/templates/woosearchform.php and you’ll have default search form.

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

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