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 have 3 loops on one page, each pulling a different CPT into a portfolio like layout.

Live: http://iassc.baltimoredrew.com/providers/

Gist: https://gist.github.com/3503334

However the tags for the second and third sections are inheriting the ones from the loop before it.

Also when I click on one of the tags to filter it, it filters all 3 loops. JS issue? In fact, could it all be JS related?

I know there are probably better ways to do this instead of multiple Custom Post Types & Loops. But it's kinda in there now. I'm hesitant to start all over.

share|improve this question
up vote 0 down vote accepted

Pretty simple fix, from what I can tell.. after each "loop" you need to reset your term list..

$term_list = '';
share|improve this answer
Thank you, good sir! – BaltimoreDrew Sep 4 '12 at 18:16

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.