Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have 3 loops on one page, each pulling a different CPT into a portfolio like layout.



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

1 Answer 1

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.