• Resolved johnfeaver

    (@johnfeaver)


    If I type a search term and wait, I will see one or more matches from the site. I can click/tap on them and go to the specific product page. However, if I type Enter right away, it takes me a page that seems to have a concatenation of some of my text from other pages.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @johnfeaver

    Thank you very much for using our plugin. The free version of the “Search in Place” plugin applies its search algorithm only to the popup results window. But if you type the enter key, since it is the WordPress search box, our plugin delegates the search process into the WordPress algorithm and lets WordPress redirect you to the results page.

    On the other hand, the commercial distribution of the “Search in Place” plugin applies its search method to both the results popup and the results page after typing the enter key.

    Best regards.

    Thread Starter johnfeaver

    (@johnfeaver)

    This javascript in the Divi theme options body fixed the problem:

    <script type="text/javascript"> jQuery('form').bind('keypress keydown keyup',function(e) { if (e.keycode == 13) { e.preventDefault();}}); </script>
    
    
    • This reply was modified 9 months, 3 weeks ago by johnfeaver.
    Plugin Author codepeople

    (@codepeople)

    Hello @johnfeaver

    Thank you very much for sharing your solution.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘search-term, then Enter goes to weird page on site’ is closed to new replies.