Bookmarkable search string being lost

Forums › Forums › Search & Filter Pro › Bookmarkable search string being lost

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #19265

    Hi Ross,

    Having an odd issue with the bookmarkable search. On this site: http://maybrooks.com/job/

    If you click a option it will update the result with the bookmarkable query string for a moment and then strip it out again as soon as the page scrolls. Then if you click into one of the result it will retail the query in the link, but clicking back loses it again.

    I know you’re in the middle of dev on 2.0 but let me know if you get a chance to take a quick look and have any ideas.

    Ross Moderator
    #19302

    Hi there

    I had a look and certainly seems odd – like you mentioned, S&F seems to be updating the URL fine, but then it changes back to nothing.

    Upon further inspection – make a few selections, without scrolling, and after a while you will see the URL remains – BUT, once you scroll the page the URL is updated again…

    So I would say you have some script that changes the URL on JavaScript events like window scroll, and possibly window resize.

    My guess this is built in to your theme or another plugin.

    Thanks

    Anonymous
    #19382

    Thanks for taking a look! Good thoughts, and for future reference for anyone that may run into this, it was the Jetpack Infinite Scroll script that takes out that query string on scroll. The workaround I found was to add a function call of:

    wp_deregister_script('the-neverending-homepage');
    

    on those search pages since the infinite scroll doesn’t need to be added on them…

    Ross Moderator
    #19419

    Thanks for the update!

Viewing 4 posts – 1 through 4 (of 4 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.