Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

query dorsal test 1

// WP_Query arguments
$args = array(
	'post_type'              => array( 'product' ),
	'post_status'            => array( 'published' ),
	'meta_query'             => array(
		'relation' => 'OR',
		array(
			'key'     => 'dorsal',
			'compare' => '=',
		),
	),
);

// The Query
$query = new WP_Query( $args );