SELECT wp_posts.*, 1 rooms_available, 0 rooms_booked , IFNULL((SELECT price_meta2.meta_value + 0 FROM wp_postmeta price_meta2 WHERE price_meta2.post_id=wp_posts.ID AND price_meta2.meta_key='_accommodation_min_price:2026-11-24:2028-11-24' LIMIT 1), 0) accommodation_price
FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) JOIN wp_icl_translations wpml_translations
ON wp_posts.ID = wpml_translations.element_id
AND wpml_translations.element_type = CONCAT('post_', wp_posts.post_type) LEFT JOIN wp_icl_translations wpml_translations_default ON wpml_translations_default.trid = wpml_translations.trid AND (wpml_translations_default.source_language_code IS NULL OR wpml_translations.source_language_code IS NULL)
WHERE 1=1 AND (
( wp_postmeta.meta_key = 'accommodation_location_post_id' AND wp_postmeta.meta_value IN ('2272') )
) AND wp_posts.post_type = 'accommodation' AND ((wp_posts.post_status = 'publish')) AND ( ( ( wpml_translations.language_code = 'en' OR (
wpml_translations.language_code = 'en'
AND wp_posts.post_type IN ( 'customize_changeset','elementor_library','extra_item','room_type' )
AND ( (
( SELECT COUNT(element_id)
FROM wp_icl_translations
WHERE trid = wpml_translations.trid
AND language_code = 'en'
) = 0
) OR (
( SELECT COUNT(element_id)
FROM wp_icl_translations t2
JOIN wp_posts p ON p.id = t2.element_id
WHERE t2.trid = wpml_translations.trid
AND t2.language_code = 'en'
AND (
p.post_status = 'publish' OR p.post_status = 'private' OR
( p.post_type='attachment' AND p.post_status = 'inherit' )
)
) = 0 ) )
) ) AND wp_posts.post_type IN ('post','page','attachment','customize_changeset','wp_block','wp_template','wp_template_part','wp_navigation','elementor_library','location','extra_item','room_type','accommodation','acf-field-group' ) ) OR wp_posts.post_type NOT IN ('post','page','attachment','customize_changeset','wp_block','wp_template','wp_template_part','wp_navigation','elementor_library','location','extra_item','room_type','accommodation','acf-field-group' ) )
GROUP BY wp_posts.ID HAVING 1=1
ORDER BY wp_posts.post_title ASC
Beautiful traditional Cortijo for 22 guests on a large and quiet private property and at only 15 km. from the center of Seville. Surrounded by a lush garden with a huge swimming pool, this is a lovely oasis on the edge Seville's developed outskirts.
3 independent design houses, each with living-dining room, kitchen, large terrace with beautiful views. Total of 7 bedrooms and 6 bathrooms. On a private property with lush garden and large pool , at 10 min. from Vejer and 15 min. from best beaches.
Andalusian manor house in the heart of picturesque upmarket beach resort Puerto de Santa María in Cádiz, recently renovated in great style where elegance and comfort merge to offer an unforgettable experience.
Luxury manor house in open nature and at only 20 km. from Sotogrande. With capacity for up to 22 guests and a large swimming pool. The ideal location for retreats, family reunions, weddings and other celebrations.
Large, charming traditional Andalusian cortijo in an idyllic natural setting with spectacular mountain views, 10 minutes from the beautiful village of Gaucin, 40 minutes from Playa de la Duquesa and 45 minutes from Sotogrande.
Recently renovated traditional Andalusian villa at 10km from the Sacromonte in Granada, which can be reached on foot. With a large garden and swimming pool, in a village in the Sierra de Huetor Nature Reserve and with views of the Sierra Nevada.
Comfortable bungalow at only a 10 min walk to Sotogrande Beach and to the Real Club de Golf, in a quiet part of the luxury Sotogrande Resort, with a lovely large garden that borders on the open country side.