Search form – for products, brands, news (post), videos (post),categories

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

  • Avatar: erikbriones_new
    erikbriones_new
    Participant
    April 6, 2015 at 12:12

    Hello,

    I need help with a Search that would include posts, categories, and the woocommerce sections – brands/products/product categories.

    Which file should i edit?

    Thanks

    P.S. you all have been very helpful 🙂

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    April 6, 2015 at 13:06

    Hello,

    You can edit the file wp-content/themes/woopress/woosearchform.php, line 15 and remove the code
    <input type="hidden" name="post_type" value="product" />. 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.