Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Tax

$tax_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'projeto',
		'terms'            => '$teste',
		'field'            => 'slug',
		'operator'         => 'AND',
	),
	array(
		'taxonomy'         => 'tipo',
		'terms'            => '$categ',
		'field'            => 'slug',
		'operator'         => 'AND',
	),
);