This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

No search results

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20291
    brandreachbrandreach
    Participant

    Hello

    Thanks for your support.
    When I activate this plugin the standard search in the menu bar gets replaced. No problem so far, thats exactly what we want.
    Unfortunately when I enter anything in the search it either does not search or it does not display, or in other words, there is no result set or redirect to a search result site or anything.
    I have checked the settings view times, but I cant find anything wrong. Please have a look for me.

    Thanks, Kr
    Jay

    #20292
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Jay,

    Thanks for the details, I see the issue.

    It is caused, because the menu does not print the search bar upon page load, but it is generated dynamically when the menu ‘magnifier’ button is clicked. Because of that, the search is not properly initialized.

    There are two possible ways of resolving this:

    1. Try turning on this option on the plugin back-end: https://i.imgur.com/HEjRAZ0.png

    2. ..or if that does not work, then this custom code will. Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

    NOTE: I personally recommend solution 2. as it is made exactly for your case. I hope menu creators in the future move away from this bad practice of dynamically putting elements to their menus, as it is causing so many issues.

    I hope this helps!

    #20293
    brandreachbrandreach
    Participant

    Thank you for the quick response.
    I ve used the snippet. Works, great job.
    You can close this ticket.

    Kr, Jay

    #20294
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘No search results’ is closed to new replies.