Support » Plugins and Hacks » How to re-paginate after deleting posts…

  • Hi,
    I’m using the the_posts filter to remove certain the $the_posts array, depending on whether the user is registered or not and on their registration date (using some post meta-data).

    But, what I’m finding is that pagination is set when the list of posts is first built, and is not re-calculated after I delete any relevant posts.

    As such, each page has a varying number of posts displayed, depending on how many I delete for that user.

    Does anyone know how to re-paginate AFTER I run the the_posts filter?

    Many thanks in advance,
    Andy

  • The topic ‘How to re-paginate after deleting posts…’ is closed to new replies.