Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

terms taxo

$tax_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'brand',
		'terms'            => 'brand_tems',
		'field'            => 'slug',
		'operator'         => 'IN',
		'include_children' => false,
	),
	array(
		'taxonomy'         => 'category',
		'terms'            => 'category_term',
		'field'            => 'slug',
		'operator'         => 'IN',
		'include_children' => true,
	),
);