Site logo

[Resolved] about pagenavi

Home Forums Support [Resolved] about pagenavi

Home Forums Support about pagenavi

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #2412836
    bruce

    hello

    please see this url:https://sp.jianzhanbang.tech/archives/category/news

    the total post in this category has 10 posts.

    in wordpress dashboard,setting–reading,Blog pages show at most ,the number is 6.

    but this page has not display wpnavi.

    how to do it ?

    thanks.

    #2412978
    Leo
    Staff
    Customer Support

    Hi there,

    The posts on the linked page are using a Query loop instead of the default post loop.

    Is that intended?

    #2413147
    bruce

    Hello Leo,

    yes.

    loop template very usefull.

    thanks.

    #2413490
    David
    Staff
    Customer Support

    Hi there,

    Pagenavi will only work with the Theme loop. Not the Query Loop.
    And when you use a Query Loop if you’re not using the Inherit query from Template then it will use the Post number parameter set on the block,

    #2414564
    bruce

    hello David,

    i used loop template and also used Inherit query from Template.

    can still use pagenavi ?

    thanks.

    #2414581
    David
    Staff
    Customer Support

    I haven’t tested it but yes i believe that should still work.

    Whats the reason for using PageNavi ?

    #2414835
    bruce

    https://sp.jianzhanbang.tech/archives/category/news

    this page will has over 100 posts.

    these posts need pagenavi.

    thanks.

    #2414874
    David
    Staff
    Customer Support

    The Query Loop Block has its own Paging navigation – see here:

    https://www.screencast.com/t/mcpl8LxjSXZz

    #2415117
    bruce

    Hello Davida,

    so cool about it

    thanks very much.

    so appreciate.

    thanks again.

    #2415121
    David
    Staff
    Customer Support

    Glad to be of help 🙂

    #2415221
    bruce

    hello

    now i have new one question about the pagenavi.

    how to Highlight Current page.

    thanks.

    #2415271
    David
    Staff
    Customer Support

    The page numbers are an individual button block that has a Current Color option.
    See here:

    https://www.screencast.com/t/fIvMF6wg2A7

    #2415301
    bruce

    ok now.

    thanks again.

    #2416074
    David
    Staff
    Customer Support

    Glad to be of help

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