Site logo

[Resolved] More button with no more posts

Home Forums Support [Resolved] More button with no more posts

Home Forums Support More button with no more posts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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

    #127115
    Tom
    Lead Developer
    Lead Developer

    This shouldn’t be happening – I’ll test and get back to you.

    #127133
    Tom
    Lead Developer
    Lead Developer

    Can’t replicate this on my end.

    Can you possibly link me to your site so I can take a look?

    #127184
    Tara

    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

    #127246
    Tom
    Lead Developer
    Lead Developer

    Thanks for the additional info – will help me when testing.

    I’ll play with this and get back to you ASAP.

    #127385
    Tom
    Lead Developer
    Lead Developer

    Nice catch – found and fixed for the next version 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.