Home Forums Themes Support Bibo Search doesnt work properly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #664

    Hey I have a problem, with the Bibo Theme, I purchased, a few days ago via Themeforest.
    When I search a product via the search form i get this result: https://testsite.com/?s=qeridoo
    This shows like everything, posts, pages, products.
    But i need the search results to be like this:
    https://testsite.com/?s=qeridoo&post_type=product
    The search results should be only products,
    could you please tell me, how i can set this up?
    Please help me with this problem, if you need further assistance or some login data for my wordpress or cpanel, dont hesitate to contact me 🙂
    kind regards BM24

    #666

    Hi,
    Thanks for choosing our product!
    About your question with search you can do it by following steps:
    Step 1: Go to path {root}/wp-content/themes/milo-bibo/templates/header/header-customize then open file:
    – search-box.php if you use Search Box at header customize option. Then add this code after line 26 (after input tag and before button tag)
    <input type="hidden" name="post_type" value="product" />
    – search-popup.php if you use use Search Button. Then add this code after line 21 and line 33 (similar above)
    <input type="hidden" name="post_type" value="product" />
    Hope this help you!

    *******
    Best regards,
    MiloTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.