Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

show_posts_with_meta_query

// WP_Query arguments
$args = array(
	'p'                      => '101658',
	'post_type'              => array( 'Posts' ),
	'post_status'            => array( 'publish' ),
	'nopaging'               => false,
	'posts_per_page'         => '4',
	'meta_query'             => array(
		array(
			'key'     => 'show_post_in_home',
			'value'   => 'yes',
			'compare' => '=',
			'type'    => 'CHAR',
		),
	),
);

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