<?php

use Elementor\Plugin;

if (class_exists(Plugin::class) && Plugin::instance()->editor->is_edit_mode()) : ?>
    <div class="elementor-alert elementor-alert-info myhome-elementor-placeholder">
        <span class="elementor-alert-title"><?php echo esc_html__('IDX Broker Placeholder', 'myhome'); ?></span>
        <span class="elementor-alert-description"><?php echo esc_html__('The live IDX Broker feed appears on the published page. This editor shows a placeholder instead.', 'myhome'); ?></span>
    </div>
<?php else : ?>
    <div id="idxStart"></div>
    <div id="idxStop"></div>
<?php endif; ?>