WordPress.org

Ready to get started?Download WordPress

Forums

Pagination and multiple loops. One loop works, the other doesn't. (3 posts)

  1. masok88
    Member
    Posted 2 years ago #

    Hey,

    I've got a loop currently working on this page http://pastebin.com/ubkY6AYD in fact I've got two. The desired effect was to have two columns.. the first showing five and the second showing the next 5.

    I've added pagination but only one of the columns seems to be changing. Anyone got any clues on getting it working?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    I'm not sure you can paginate two completely separate Loops in the manner that you are trying to. As far as I can recall, the pagination will only work on the last Loop.

  3. Deepak Rajpal
    Member
    Posted 2 years ago #

    You can try wp_reset_query(); after query/loops ends..

Topic Closed

This topic has been closed to new replies.

About this Topic