Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

single tax query

$tax_query = array(
	array(
		'taxonomy'         => 'gallery-type',
		'terms'            => 'weddings',
		'field'            => 'slug',
	),
);