Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

query_meta

query_meta

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'project_type',
		'value'   => 'Main Projects',
		'compare' => 'LIKE',
		'type'    => 'CHAR',
	),
);