Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query Meta Postcode

Single query to find meta values inside a charset

$meta_query = array(
	array(
		'key'     => 'postcode',
		'value'   => 'your-postcode',
		'compare' => 'LIKE',
		'type'    => 'CHAR',
	),
);