- This topic has 5 replies, 2 voices, and was last updated 7 years, 5 months ago by
Tom.
-
AuthorPosts
-
August 6, 2015 at 6:08 am #127059
Tara
Hi Tom
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?
Thanks
Tara
August 6, 2015 at 9:20 am #127115Tom
Lead DeveloperLead DeveloperThis shouldn’t be happening – I’ll test and get back to you.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 6, 2015 at 10:26 am #127133Tom
Lead DeveloperLead DeveloperCan’t replicate this on my end.
Can you possibly link me to your site so I can take a look?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 6, 2015 at 12:53 pm #127184Tara
Hi Tom
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.
Tara
August 6, 2015 at 11:13 pm #127246Tom
Lead DeveloperLead DeveloperThanks for the additional info – will help me when testing.
I’ll play with this and get back to you ASAP.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 7, 2015 at 10:30 am #127385Tom
Lead DeveloperLead DeveloperNice catch – found and fixed for the next version 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.