Update found posts on ajax filter

Forums › Forums › Search & Filter Pro › Update found posts on ajax filter

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #43809

    Hello,

    I’m using $wp_query->found_posts; to display number of posts found on archive page. How can I update this number when using ajax filtering?

    Regards

    Ross Moderator
    #43819

    This must be inside your results container for it to be updated, so consider changing this setting.

    Remember to make sure the S&F form is not inside the results container as otherwise it won’t work after the first submit.

    Thanks

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