Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query Service

// WP_Query arguments
$args = array(
	'post_type'              => array( 'service' ),
	'post_status'            => array( 'publish' ),
	'posts_per_page'         => '10',
	'order'                  => 'DESC',
	'orderby'                => 'date',
	'tax_query'              => array(
		'relation' => 'AND',
		array(
			'taxonomy'         => 'service_group',
			'terms'            => array( '18', '20' ),
			'field'            => 'term_id',
		),
		array(
			'taxonomy'         => 'service_sector',
			'terms'            => array( '25', '50' ),
			'field'            => 'term_id',
		),
	),
);

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