I'm using 4 custom loops to display 3 posts on each one and every loop has its own pagination which works fine once the page loads up, the problem is that when I click on the 2nd page of the first loop it does show me the next 3 posts of that loop but it does the same for the other 3 loops, so if one of these loops has only 2 posts it won't show any if I click on the 2nd page of any of the other.

Is there a way to page the pagination aware of what the loop is and only scroll through that loop?

Thanks in advance!

  • Meh, I ended up doing it with AJAX which was the thing I was trying to avoid, hopefully someone knows another way to do this.. Commented Aug 27, 2011 at 1:36

1 Answer 1


you might wanna try wp_reset_query(); at the end of your loops

  • I did but since the page parameter gets pulled from the URL it does nothing Commented Aug 27, 2011 at 0:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.