• When I add the loop with pagination like this:
    [loop type=post paged=5]
    [field title]
    [content]
    [/loop]

    [loopage]

    The loop does not display the next set of posts. But when I include the loop twice:

    [loop type=post paged=5]
    [/loop]

    [loop type=post paged=5]
    [field title]
    [content]
    [/loop]

    [loopage]

    then the pagination works. Any idea why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hello,

    Thank you for the description of the bug. In the latest plugin version 3.7.4, I added a way to work around potential conflict with existing permalinks.

    You can specify a custom query variable to use for pagination:

    [loop type=post paged=5 query=paged]
      [field title]
      [content]
    [/loop]
    
    [loopage query=paged]
    

    The value of parameter query can be anything other than page or p.

    Please let me know if that solves it.

    “query=paged” does not appear to work, however, “query=pagination” does work

    • This reply was modified 6 years, 4 months ago by jazzmot.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination wont work unless shortcode is added twice’ is closed to new replies.