This should work for posts:

<?php $wpquery1 = new WP_Query( array( “post_type” => “post”, “tag” =>$term->slug) ); ?>

The above query will only return posts that have been tagged.

This should work for teams:

<?php $wpquery2 = new WP_Query( array( “post_type” => “brand”, “team” => $term->slug) ); ?>


Please login or Register to submit your answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.