Site logo

[Resolved] pagination in query result pages

Home Forums Support [Resolved] pagination in query result pages

Home Forums Support pagination in query result pages

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2521932
    nudnavda

    Hello,
    the forum create-topic served me (graciously) 3 suggestions from existing forum posts.
    But unfortunately they were not useful.
    And I’ve been looking for quite some time now to find an answer, so it would be great if you could help.

    My question is related to this page:
    https://dharmoebe.nl/praktijk/leraren-overzicht/

    It’s an archive, created by query loop using pages from specific category.
    All is well (ignoring the basic design), including the pagination from the query.

    But when I enter the archive and enter a page to read, there’s no pagination.
    Would you have a solution for this?

    Thanks and best wishes,
    ad

    #2522033
    David
    Staff
    Customer Support

    Hi there,

    select the Query Loop block, and in the Blocks Toolbar there is a Insert Pagination button. Click that.

    #2522047
    nudnavda

    Yes, i know.
    That is what i did on the main page, containing the query, and it’s working.
    But then, once i enter the pages inside that page, there’s no pagination.

    #2522302
    David
    Staff
    Customer Support

    Are you wanting post navigation for the single post eg.

    https://dharmoebe.nl/anonieme-oefening-deel-3-lange-versie/

    #2522325
    nudnavda

    Thanks for the quick replies, David.
    Yes, but specifically for the single posts (pages in category ‘leraren’, meaning ‘teachers’) that have been queried.

    For instance:
    https://dharmoebe.nl/praktijk/de-leken-bodhisattva/

    is part of the query in:
    https://dharmoebe.nl/praktijk/leraren-overzicht/

    #2522426
    Ying
    Staff
    Customer Support

    hi there,

    You can use a block element - post navigation template for this:
    https://docs.generatepress.com/article/block-element-post-navigation/

    Toggle the In same term option, it will only navigate you to the same term of posts.

    #2522995
    nudnavda

    Thanks so much, Ying (and David)!
    The small toggle did the trick.

    #2523447
    Ying
    Staff
    Customer Support

    Glad to hear that 🙂

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