Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

feature_on_homepage

$meta_query = array(
	array(
		'key'     => 'feature_on_homepage',
		'value'   => 'yes',
	),
);