Home Forums WoodMart support forum Search Bar: Popular Request fix

Search Bar: Popular Request fix

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #537947

    GabrieleLM
    Participant

    Hi,
    I’ve have my WP installend in a sub-directory (let’s say http://www.domain.com/wpinstallation/).

    I’ve moved htacces and index in the root, so the website is now online and visible to all.

    Unfortunately the search bar’s Popular request links are still pointing to the sub directory, so the query sey make goes to the homepage and not to the product page for example.

    Thank you for fixing this.

    #538026

    GabrieleLM
    Participant

    Hi,
    I found the solution by myself and implemented it.
    By the way, I think it needs an official fix to stay there forever even after theme updates!

    Solution:

    File: woodmart\inc\modules\search.php
    Line: 256
    FIX: get_site_url –> change into get_home_url

    Like this:
    “>

    Can you confirm this fix can be officially released?

    Thank you

    #538028

    GabrieleLM
    Participant

    The code has been removed, I try to send it in private!

    #538029

    GabrieleLM
    Participant

    Try again breaking the line

    #538239

    Hung Pham
    Keymaster

    Hi GabrieleLM,

    Thanks for reaching to us.

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    Regards,

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