Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

padena-slider-position

$tax_query = array(
	array(
		'taxonomy'         => 'slider_position',
		'terms'            => 'main-page-slider',
		'field'            => 'slug',
	),
);