Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Meta Query Ad Position 1

$meta_query_adposition = array(
	'relation' => 'AND',
	array(
		'key'     => 'sqpp_ad_position_select',
		'value'   => 'leaderboard',
		'compare' => '=',
		'type'    => 'CHAR',
	),
	array(
		'key'     => 'sqpp_ad_status',
		'value'   => 'test',
		'compare' => '=',
		'type'    => 'CHAR',
	),
);