• Resolved Tony Hunt

    (@godfodder)


    I know, I know. Very few people will ever have this problem, but at 10 posts per page, I still have around 190 pages.

    As it happens I don’t want to get rid of or prune them, I’d much rather try and get the pagination to play ball.

    To be clear…I can’t tell if this problems is part of the theme’s functions.php or the inherent pagination code in the WP install.

    example:
    Works just fine: https://tonytown.com/page/79/
    Not working: https://tonytown.com/page/80/
    Not working: https://tonytown.com/page/90/
    Not working: https://tonytown.com/page/120/
    etc.

    Before you ask…I already know this isn’t a plugin issue, and the permalink structure works fine and has been rebuilt a couple times just in case…it’s either the theme or the WP code…just cant tell which.

    Any help?

Viewing 2 replies - 16 through 17 (of 17 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Earlier this afternoon, I set the posts per page from 5 to 10.
    About an hour later, I reset the permalinks.

    Crap. Misquery…780 published.

    Are you sure you’re doing your math right on this one? 780/10 = 78 pages total.

    Note that the permalinks don’t “get built” like that. It doesn’t have to build one for each page, just one for all pages. The math is done on-the-fly.

    Thread Starter Tony Hunt

    (@godfodder)

    It was the theme. It’s basing on 5 posts per page, where if we clean out the custom theme, the pagination stops at p79 with the very first post(oldest) on the blog.

    I’ve corrected the problem now.

    Again thanks! (including the math lesson ??

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Pagination breaks after 79 Pages.’ is closed to new replies.