• 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: http://tonytown.com/page/79/
    Not working: http://tonytown.com/page/80/
    Not working: http://tonytown.com/page/90/
    Not working: http://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 15 replies - 1 through 15 (of 17 total)
  • Have you tried switching to the default theme to rule out any theme-specific problems?

    Thread Starter Tony Hunt

    (@godfodder)

    http://tonytown.com/page/80/

    Doesnt work on page 80 without the theme πŸ˜‰

    You are not using the Twenty Twelve theme yet…

    Thread Starter Tony Hunt

    (@godfodder)

    I already did and it didnt make a difference, do you want me to leave it there? If so for how long?

    do you want me to leave it there?

    Yes, please.

    If so for how long?

    Until we’ve been able to check out the site.

    Thread Starter Tony Hunt

    (@godfodder)

    Understood, and done πŸ˜‰

    Thread Starter Tony Hunt

    (@godfodder)

    I think I’ve found it.

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

    I dont think these pages (like /83/) were finished updating on the original permalink structure for those pages…but is that a stored value or calculated on the fly?

    How many published Posts do you currently have in total?

    is that a stored value or calculated on the fly?

    All pagination is done dynamically.

    Thread Starter Tony Hunt

    (@godfodder)

    821 posts on this one.

    I’m only seeing 780 (or less) publically available posts.

    Thread Starter Tony Hunt

    (@godfodder)

    Crap. Misquery…780 published.

    So the pagination is OK, yes?

    Thread Starter Tony Hunt

    (@godfodder)

    Yep. Now I know it’s theme related. The last page of clean install pagination shows the very first post..and thats on page 79.

    I didn’t do the math right away and didn’t realize that was it…the actual number of pages would go down after the # of posts per page was reset.

    Still trying to figure out why the theme still thinks there are so many more pages.

    Thanks in advance for you help on this…I needed a kickstart πŸ˜‰

    -Tony

    Could be a faulty custom query (primary or secondary loop) in index.php or one of its related files.

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