wp-pagenavi current class not updating when using Ajax

Forums › Forums › Search & Filter Pro › wp-pagenavi current class not updating when using Ajax

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #25239

    Hey there,

    Love the plugin 🙂

    Is it possible to get the current class to update when using AJAX?

    I use wp-pagenavi for pagination.

    When using the Ajax display the current page number doesn’t update (even though the next page does show).

    Or is this a feature of 2.0 that’s out soon?

    Thank you advanced!

    R

    Ross Moderator
    #25280

    Hey Richard

    I think its likely just a selector issue.

    In S&F under the “display results” tab, you have the option “Results Container”

    This is the CSS selector which should contain your results.

    I think what you want to do is choose a different selector, which contains your results & your pagination, so when the results are updated, so is the pagination.

    Thanks

    Anonymous
    #25283

    Ah thanks!

    Worked a treat 🙂

    Keep up the great work on this plugin, it’s saved me countless hours compared to doing this kind of thing hand coded.

    Also looking forward to V2.

Viewing 3 posts – 1 through 3 (of 3 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.