Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

WP_QUERY

// WP_Query arguments
$args = array(
	'post_type'              => array( 'estate' ),
	'post_status'            => array( 'publish' ),
	'nopaging'               => true,
	'posts_per_page'         => '-1',
	'order'                  => 'DESC',
	'orderby'                => 'id',
	'tax_query'              => array(
		array(
			'taxonomy'         => 'property-category',
			'terms'            => '11',
			'field'            => 'term_id',
		),
	),
	'meta_query'             => array(
		'relation' => 'AND',
		array(
			'key'     => 'city',
			'value'   => 'Mumbai',
			'compare' => 'LIKE',
		),
		array(
			'key'     => 'type',
			'value'   => '1',
			'compare' => '=',
		),
		array(
			'key'     => 'price',
			'value'   => 'array(1000,5000)',
			'compare' => 'BETWEEN',
		),
		array(
			'key'     => 'area',
			'value'   => 'array(1000,5000)',
			'compare' => 'BETWEEN',
		),
		array(
			'key'     => 'bedrooms',
			'value'   => '2',
			'compare' => '>=',
		),
	),
);

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