$postn,'cat'=>$catId) ); while ( $the_query->have_posts() ):$counter++; $the_query->the_post(); $feat_team_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'swiftpress-team' ); $feat_team_image = $feat_team_image[0]; ?>
'; } else{ echo $team= ''; } ?>

';} endwhile; ?>