Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Place Query

// WP_Query arguments
$args = array(
	'post_type'              => array( 'place' ),
	'post_status'            => array( 'publish' ),
	'meta_query'             => array(
		'relation' => 'AND',
		array(
			'key'     => 'airport_name',
			'value'   => 'Reykjavik',
			'compare' => 'LIKE',
		),
	),
	'cache_results'          => true,
	'update_post_meta_cache' => true,
	'update_post_term_cache' => true,
);

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