Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

$post

post taxanomy

$tax_query = array(
	array(
		'taxonomy'         => 'post',
		'terms'            => '12',
		'field'            => 'term_id',
	),
);