Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

tax

$tax_query = array(
	array(
		'taxonomy'         => 'tax',
		'terms'            => 'term',
		'field'            => 'name',
		'operator'         => 'EXISTS',
		'include_children' => true,
	),
);