Support » Plugin: Display Posts - Easy lists, grids, navigation, and more » Combine Pagination Of Multiple Shortcodes

  • Resolved Tnace

    (@radiocure1)


    Is there a way to combine pagination for multiple shortcodes. We use DPS to display a featured image, 3 regular posts, a featured image, then another 3 regular posts on our homepage and category pages. We’d like to be able to paginate all 4 shortcodes combined. Is that possible with the pagination plugin? I can only figure out how to enable pagination for each individual shortcode.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tnace

    (@radiocure1)

    Bumping this question to see if there are any solutions. Still trying to figure this out.

    Plugin Author Bill Erickson

    (@billerickson)

    If you’re using the Pagination Extension, the same pagination will be used for all shortcodes by default. Ex:

    [display-posts category=”sample” pagination=”true”]

    [display-posts category=”another” pagination=”true”]

    If you want different pagination for each (which is definitely recommended since each query likely has a different number of results), you can use a number instead of “true” . Ex:

    [display-posts category=”sample” pagination=”true”]

    [display-posts category=”another” pagination=”2″]

    Tnace

    (@radiocure1)

    This is perfect, thanks Bill!

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