WordPress.org

Ready to get started?Download WordPress

Forums

Two different loops with separate pagination on the same page? (1 post)

  1. nyubbie
    Member
    Posted 1 year ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.