Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

ind_adv_query logic

// WP_Query arguments
$args = array(
	'post_type'              => array( 'team_members' ),
	'posts_per_page'         => '4',
	'order'                  => 'ASC',
	'orderby'                => 'modified',
	'tax_query'              => array(
		array(
			'taxonomy'         => 'advisor_order',
			'terms'            => array( '%_01', ' %_02' ),
		),
	),
);

// The Query
$adv_query = new WP_Query( $args );

// The Loop
if ( $adv_query->have_posts() ) {
	while ( $adv_query->have_posts() ) {
		$adv_query->the_post();
		// do something
	}
} else {
	// no posts found
}

// Restore original Post Data
wp_reset_postdata();