Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

tax test

$tax_query = array(
	array(
		'taxonomy'         => 'category',
		'terms'            => array( '1', ' 2' ),
	),
);