WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
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.. – javiervd Aug 27 '11 at 1:36
up vote 0 down vote accepted

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

share|improve this answer
I did but since the page parameter gets pulled from the URL it does nothing – javiervd Aug 27 '11 at 0:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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