Take the 2-minute tour ×

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
add comment

1 Answer

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
add comment

Your Answer


