Page count doesn’t update in paginated post grid
-
When you publish new posts and the amount gets over the posts per page threshold, a new page of posts should appear in the paginated post grid, increasing the total number of pages by one.
Say, you have 10 posts per page, and you have 50 posts published. You would have 5 pages of 10 posts, and the last available number of pages would be 5. As soon as you publish one more post, you should have already 6 pages of posts, with the last page now being page 6 and containing just one post.
To get the number of pages to update on the frontend, I have to go into the page editor and fiddle with the grid settings. Not change anything, just click on a few random settings. Then save the page, clear the cache, and the correct number of pages appears. But now we have to repeat this every 10 posts, which is up to twice daily at our rate. Clearing the cache on its own doesn’t help.
Also, curiously, in the editor the total number of pages shown is negatively offset by one. Where you see 5 pages of posts in the editor, it’s actually showing 6 on the frontend.
The page I need help with: [log in to see the link]
- The topic ‘Page count doesn’t update in paginated post grid’ is closed to new replies.