Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

20220525_test

$meta_query = array(
	array(
		'key'     => 'price',
		'value'   => '100',
		'compare' => '>=',
		'type'    => 'NUMERIC',
	),
	array(
		'key'     => 'price',
		'value'   => '500',
		'compare' => '<',
		'type'    => 'NUMERIC',
	),
);