WP_Meta_Query Generator May 18, 2017 Public Amrit Ghimire Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone WP Query $meta_query = array( array( 'key' => 'type_featured', 'value' => 'featured', 'compare' => '=', ), );