Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Meta query – Blue items

Retrieve only blue color items.

$meta_query = array(
	array(
		'key'     => 'color',
		'value'   => 'blue',
	),
);