WordPress.org

Support

Support » How-To and Troubleshooting » Two different loops with separate pagination on the same page?

Two different loops with separate pagination on the same page?

  • I’m trying to create two different loops (that use WP_Query) separately, with a separate pagination system.

    Is this possible?

    Right now (let’s say I have 2 WP_Queries, $query1 and $query2) if I click on $query1’s pagination, it directs me to testsite.com/page/2, which changes $query2’s posts as well.

    I’m looking at http://wordpress.stackexchange.com/questions/47259/multiple-wp-query-loops-with-pagination , but it isn’t working for me.

    Also, can someone also explain the ‘format’ parameter in paginate links as well? I’m changing the ‘format’ parameter to ‘pagetest/%#%/’ but it still displays on the site as testsite.com/page/2…

  • The topic ‘Two different loops with separate pagination on the same page?’ is closed to new replies.