[Support request] Number of pagination posts links

Home Forums Support [Support request] Number of pagination posts links

Home Forums Support Number of pagination posts links

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1387201
    davbarrio

    Hi,
    i would like to change the number of posts links that appear in Archive .

    You can see it here: https://pasteboard.co/JkPA28b.png

    You can see that it appears number 1 .. and then the last page number.

    But i would like to show only: 1, 2, 3
    or 1, 2, 3 Next

    Couldn´t find the way to do it on the theme neither this forum.
    Hope you can help me.

    Regards.

    #1387229
    Leo
    Staff
    Customer Support

    Hi there,

    Looks like you’ve already added some CSS for it.

    Can you disable your caching plugin so I can take a closer look of what you’ve done?

    Thanks!

    #1387233
    davbarrio

    Hi Leo,

    i found and added some code:

    .page-numbers:not(.next):not(.prev) {
        display: none;
    }
    
    .nav-links {
        display: flex;
        justify-content: space-between;
    }

    But it´s not what i would prefer …

    Caché disabled, and code removed.

    Please take a closer look.

    Thanks.

    Regards.

    #1387514
    Leo
    Staff
    Customer Support

    So just to confirm, you don’t want people to have access past page 3?

    #1423436
    davbarrio

    Hi,
    i would like to show:
    1, 2, 3 Next

    and when visitors click on Next, then it will be :
    3, 4, 5 Next

    And so on ..

    Could you help me to get that on pagination please?

    #1424169
    Leo
    Staff
    Customer Support

    I gave it a good go but doesn’t look like that structure is possible unfortunately.

    We do have this filter to tweak it a bit:
    https://docs.generatepress.com/article/generate_pagination_mid_size/

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