Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Faculty-Program

query to show faculty of each program

// WP_Query arguments
$args = array(
	'post_type'              => array( 'faculty' ),
	'posts_per_archive_page' => '5',
	'tax_query'              => array(
		array(
			'taxonomy'         => 'program',
			'terms'            => array( 'psyd', ' mpsy', ' pth' ),
			'field'            => 'slug',
			'operator'         => 'IN',
		),
	),
);

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