• gavinwilshen

    (@gavinwilshen)


    WCBRS 2019 Contributor

    Hi

    After adding a new query to a loop, the numeric post/page navigation is incorrectly showing three pages when there should only be one. All three pages show the same 12 posts. As shown here:
    https://boneshakermag.com/features/

    The navigation works correctly if this new query (which limits the loop to only show posts from a single category) is removed and so I assume the navigation is counting all posts rather than just those within the category?

    The code for this particular template can be found below. Any help or advice would be much appreciated.

    https://gist.github.com/anonymous/2f02e58b284836f5bc14

    Many thanks,
    Gavin

  • The topic ‘Numeric Post Navigation working incorrectly on loop’ is closed to new replies.