'post' 'post_per_page' => -1 'meta_query' => array( array( 'key' => 'price' 'type' => 'NUMERIC' 'value' => array($minprice,$maxprice), 'compare' => 'BETWEEN' ) ) )