- This topic has 5 replies, 2 voices, and was last updated 5 years, 6 months ago by Tom.
August 6, 2015 at 6:08 am #127059Tara
On my custom query templates (with masonry) I’m now seeing a More button even though there aren’t any more posts. That wasn’t happening in June when I created them, so I think something’s changed in a recent update. Any ideas for what I should look for?
TaraAugust 6, 2015 at 9:20 am #127115TomLead DeveloperLead DeveloperAugust 6, 2015 at 10:26 am #127133TomLead DeveloperLead DeveloperAugust 6, 2015 at 12:53 pm #127184Tara
I haven’t switched my live site to GeneratePress yet, but here’s one of my custom templates: http://pastebin.com/pA7yZDqL
This one uses the NS Featured Posts plugin to select specific items to show on the static front page (or falls back to the latest posts and pages), without pagination. But I also get the More button on my other custom template, which lists all the child pages.
I tried removing
'no_found_rows' => true,in case it was affecting the pagination, but it didn’t make any difference.
I’ve done some more testing: I don’t get a More button on categories and tags that only have one page of posts, or when I load multiple pages of posts until the end. But I do get a More button if I jump straight to the last page, eg /news/page/10/ (where /news/ is my posts page) or /category/books/page/3/. Can you replicate that on yours? It still happens when I activate the parent theme.
If I disable the masonry, I don’t see any pagination on my custom templates, and I get the normal pagination on the last page of the blog archives.
Hope that helps.
TaraAugust 6, 2015 at 11:13 pm #127246TomLead DeveloperLead DeveloperAugust 7, 2015 at 10:30 am #127385
- You must be logged in to reply to this topic.