WP_Query Object ( [query] => Array ( [post_type] => estates [post_status] => publish [posts_per_page] => 17 [paged] => 1 [meta_query] => Array ( [relation] => AND [0] => Array ( [key] => offsale [value] => yes [compare] => != ) [1] => Array ( [key] => canhavechildren [value] => 1 [compare] => != ) [2] => Array ( [relation] => OR [0] => Array ( [key] => price [value] => 300000 [type] => NUMERIC [compare] => >= ) [1] => Array ( [key] => price [compare] => NOT EXISTS ) ) ) [orderby] => date [order] => DESC [post_parent] => 0 [tax_query] => Array ( [0] => Array ( [taxonomy] => estate_status [field] => slug [terms] => Array ( [0] => preparation_en ) ) ) ) [query_vars] => Array ( [post_type] => estates [post_status] => publish [posts_per_page] => 17 [paged] => 1 [meta_query] => Array ( [relation] => AND [0] => Array ( [key] => offsale [value] => yes [compare] => != ) [1] => Array ( [key] => canhavechildren [value] => 1 [compare] => != ) [2] => Array ( [relation] => OR [0] => Array ( [key] => price [value] => 300000 [type] => NUMERIC [compare] => >= ) [1] => Array ( [key] => price [compare] => NOT EXISTS ) ) [3] => Array ( [key] => offsale [value] => yes [compare] => != ) ) [orderby] => date [order] => DESC [post_parent] => 0 [tax_query] => Array ( [0] => Array ( [taxonomy] => estate_status [field] => slug [terms] => Array ( [0] => preparation_en ) ) ) [error] => [m] => [p] => 0 [subpost] => [subpost_id] => [attachment] => [attachment_id] => 0 [name] => [pagename] => [page_id] => 0 [second] => [minute] => [hour] => [day] => 0 [monthnum] => 0 [year] => 0 [w] => 0 [category_name] => [tag] => [cat] => [tag_id] => [author] => [author_name] => [feed] => [tb] => [meta_key] => [meta_value] => [preview] => [s] => [sentence] => [title] => [fields] => all [menu_order] => [embed] => [category__in] => Array ( ) [category__not_in] => Array ( ) [category__and] => Array ( ) [post__in] => Array ( ) [post__not_in] => Array ( ) [post_name__in] => Array ( ) [tag__in] => Array ( ) [tag__not_in] => Array ( ) [tag__and] => Array ( ) [tag_slug__in] => Array ( ) [tag_slug__and] => Array ( ) [post_parent__in] => Array ( ) [post_parent__not_in] => Array ( ) [author__in] => Array ( ) [author__not_in] => Array ( ) [search_columns] => Array ( ) [update_post_term_cache] => 1 [ignore_sticky_posts] => [suppress_filters] => [cache_results] => 1 [update_menu_item_cache] => [lazy_load_term_meta] => 1 [update_post_meta_cache] => 1 [nopaging] => [comments_per_page] => 50 [no_found_rows] => [taxonomy] => estate_status [term] => preparation_en ) [tax_query] => WP_Tax_Query Object ( [queries] => Array ( [0] => Array ( [taxonomy] => estate_status [terms] => Array ( [0] => preparation_en ) [field] => slug [operator] => IN [include_children] => 1 ) ) [relation] => AND [table_aliases:protected] => Array ( [0] => wpstbys_term_relationships ) [queried_terms] => Array ( [estate_status] => Array ( [terms] => Array ( [0] => preparation_en ) [field] => slug ) ) [primary_table] => wpstbys_posts [primary_id_column] => ID ) [meta_query] => WP_Meta_Query Object ( [queries] => Array ( [0] => Array ( [key] => offsale [value] => yes [compare] => != ) [1] => Array ( [key] => canhavechildren [value] => 1 [compare] => != ) [2] => Array ( [0] => Array ( [key] => price [value] => 300000 [type] => NUMERIC [compare] => >= ) [1] => Array ( [key] => price [compare] => NOT EXISTS ) [relation] => OR ) [3] => Array ( [key] => offsale [value] => yes [compare] => != ) [relation] => AND ) [relation] => AND [meta_table] => wpstbys_postmeta [meta_id_column] => post_id [primary_table] => wpstbys_posts [primary_id_column] => ID [table_aliases:protected] => Array ( [0] => wpstbys_postmeta [1] => mt1 [2] => mt2 [3] => mt3 ) [clauses:protected] => Array ( [wpstbys_postmeta] => Array ( [key] => offsale [value] => yes [compare] => != [compare_key] => = [alias] => wpstbys_postmeta [cast] => CHAR ) [mt1] => Array ( [key] => canhavechildren [value] => 1 [compare] => != [compare_key] => = [alias] => mt1 [cast] => CHAR ) [mt2] => Array ( [key] => price [value] => 300000 [type] => NUMERIC [compare] => >= [compare_key] => = [alias] => mt2 [cast] => SIGNED ) [mt3] => Array ( [key] => price [compare] => NOT EXISTS [compare_key] => = [alias] => mt3 [cast] => CHAR ) [wpstbys_postmeta-1] => Array ( [key] => offsale [value] => yes [compare] => != [compare_key] => = [alias] => wpstbys_postmeta [cast] => CHAR ) ) [has_or_relation:protected] => 1 ) [date_query] => [request] => SELECT SQL_CALC_FOUND_ROWS wpstbys_posts.ID FROM wpstbys_posts LEFT JOIN wpstbys_term_relationships ON (wpstbys_posts.ID = wpstbys_term_relationships.object_id) LEFT JOIN wpstbys_postmeta ON ( wpstbys_posts.ID = wpstbys_postmeta.post_id ) LEFT JOIN wpstbys_postmeta AS mt1 ON ( wpstbys_posts.ID = mt1.post_id ) LEFT JOIN wpstbys_postmeta AS mt2 ON ( wpstbys_posts.ID = mt2.post_id ) LEFT JOIN wpstbys_postmeta AS mt3 ON ( wpstbys_posts.ID = mt3.post_id AND mt3.meta_key = 'price' ) INNER JOIN wpstbys_term_relationships AS pll_tr ON pll_tr.object_id = wpstbys_posts.ID WHERE 1=1 AND wpstbys_posts.post_parent = 0 AND ( wpstbys_term_relationships.term_taxonomy_id IN (912922) ) AND ( ( wpstbys_postmeta.meta_key = 'offsale' AND wpstbys_postmeta.meta_value != 'yes' ) AND ( mt1.meta_key = 'canhavechildren' AND mt1.meta_value != '1' ) AND ( ( mt2.meta_key = 'price' AND CAST(mt2.meta_value AS SIGNED) >= '300000' ) OR mt3.post_id IS NULL ) AND ( wpstbys_postmeta.meta_key = 'offsale' AND wpstbys_postmeta.meta_value != 'yes' ) ) AND wpstbys_posts.post_type = 'estates' AND ((wpstbys_posts.post_status = 'publish')) AND pll_tr.term_taxonomy_id IN ( 2 ) GROUP BY wpstbys_posts.ID ORDER BY wpstbys_posts.menu_order, wpstbys_posts.post_date DESC LIMIT 0, 17 [posts] => Array ( [0] => WP_Post Object ( [ID] => 21658 [post_author] => 0 [post_date] => 2024-06-03 16:17:32 [post_date_gmt] => 2024-06-03 14:17:32 [post_content] => In one of the most popular areas of the Medina called the Kasbah, not far from the Royal Palace and the Saadian Tombs, a vast riad of over ± 1.240 m² adorned with lush vegetation.
A haven of peace and tranquility, this riad with Arab-Moorish charm is organized around five patios, planted with flowering shrubs and orange trees, some with fountains in the middle. On the ground floor, a large heated swimming pool of 10m x 5m, a dining room, three lounges, a meeting room, and a large well-equipped kitchen. The night area offers 18 rooms with all the desired comfort.
Others: Hammam and spa, laundry room, air conditioning in all rooms, wifi, solar panels, accessible by car, professional equipment
Famous and full of life, the Medina is the historic heart of Marrakech. It revolves around the Place Jemaa El Fna and forms one of the five districts of the city.
For more information, please contact Abdelhadi Laaouina at +212 6 61 92 15 50. [post_title] => Marrakech I Medina [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => 4507723-marrakech-i-medina [to_ping] => [pinged] => [post_modified] => 2025-05-04 00:02:36 [post_modified_gmt] => 2025-05-03 22:02:36 [post_content_filtered] => [post_parent] => 0 [guid] => https://sothebysrealty.ma/estates/4507723-marrakech-i-medina/ [menu_order] => 0 [post_type] => estates [post_mime_type] => [comment_count] => 0 [filter] => raw ) ) [post_count] => 1 [current_post] => -1 [before_loop] => 1 [in_the_loop] => [post] => WP_Post Object ( [ID] => 21658 [post_author] => 0 [post_date] => 2024-06-03 16:17:32 [post_date_gmt] => 2024-06-03 14:17:32 [post_content] => In one of the most popular areas of the Medina called the Kasbah, not far from the Royal Palace and the Saadian Tombs, a vast riad of over ± 1.240 m² adorned with lush vegetation.
A haven of peace and tranquility, this riad with Arab-Moorish charm is organized around five patios, planted with flowering shrubs and orange trees, some with fountains in the middle. On the ground floor, a large heated swimming pool of 10m x 5m, a dining room, three lounges, a meeting room, and a large well-equipped kitchen. The night area offers 18 rooms with all the desired comfort.
Others: Hammam and spa, laundry room, air conditioning in all rooms, wifi, solar panels, accessible by car, professional equipment
Famous and full of life, the Medina is the historic heart of Marrakech. It revolves around the Place Jemaa El Fna and forms one of the five districts of the city.
For more information, please contact Abdelhadi Laaouina at +212 6 61 92 15 50. [post_title] => Marrakech I Medina [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => 4507723-marrakech-i-medina [to_ping] => [pinged] => [post_modified] => 2025-05-04 00:02:36 [post_modified_gmt] => 2025-05-03 22:02:36 [post_content_filtered] => [post_parent] => 0 [guid] => https://sothebysrealty.ma/estates/4507723-marrakech-i-medina/ [menu_order] => 0 [post_type] => estates [post_mime_type] => [comment_count] => 0 [filter] => raw ) [comment_count] => 0 [current_comment] => -1 [found_posts] => 1 [max_num_pages] => 1 [max_num_comment_pages] => 0 [is_single] => [is_preview] => [is_page] => [is_archive] => 1 [is_date] => [is_year] => [is_month] => [is_day] => [is_time] => [is_author] => [is_category] => [is_tag] => [is_tax] => 1 [is_search] => [is_feed] => [is_comment_feed] => [is_trackback] => [is_home] => [is_privacy_policy] => [is_404] => [is_embed] => [is_paged] => [is_admin] => [is_attachment] => [is_singular] => [is_robots] => [is_favicon] => [is_posts_page] => [is_post_type_archive] => 1 [query_vars_hash:WP_Query:private] => e0f781d3725e3d74ee60db696b7ea991 [query_vars_changed:WP_Query:private] => 1 [thumbnails_cached] => [allow_query_attachment_by_filename:protected] => [stopwords:WP_Query:private] => [compat_fields:WP_Query:private] => Array ( [0] => query_vars_hash [1] => query_vars_changed ) [compat_methods:WP_Query:private] => Array ( [0] => init_query_flags [1] => parse_tax_query ) [query_cache_key:WP_Query:private] => wp_query:841ccee2177df99e261f98a8ee6a8784:0.28954800 17463309180.30783100 1746330918 )

Let's get to know each other
Tell us about your project, we’ll take care of the rest.