<?php do_action('calla_elated_before_page_title'); ?>
<div class="eltdf-title-holder <?php echo esc_attr($holder_classes); ?>" <?php calla_elated_inline_style($holder_styles); ?> <?php echo calla_elated_get_inline_attrs($holder_data); ?>>
	<?php if(!empty($title_image)) { ?>
		<div class="eltdf-title-image">
			<img itemprop="image" src="<?php echo esc_url($title_image['src']); ?>" alt="<?php echo esc_attr($title_image['alt']); ?>" />
        </div>
	<?php } ?>
	<div class="eltdf-title-wrapper" <?php calla_elated_inline_style($wrapper_styles); ?>>
		<div class="eltdf-title-inner">
			<div class="eltdf-grid" <?php calla_elated_inline_style($title_offset);?>>
				<?php if(!empty($title)) { ?>
					<<?php echo esc_attr($title_tag); ?> class="eltdf-page-title entry-title" <?php calla_elated_inline_style($title_styles); ?>><?php echo esc_html($title); ?></<?php echo esc_attr($title_tag); ?>>
				<?php } ?>
				<?php if(!empty($subtitle)){ ?>
					<<?php echo esc_attr($subtitle_tag); ?> class="eltdf-page-subtitle" <?php calla_elated_inline_style($subtitle_styles); ?>><?php echo esc_html($subtitle); ?></<?php echo esc_attr($subtitle_tag); ?>>
				<?php } ?>
        <?php if(is_array($title_separator) && count($title_separator)) {
            echo calla_elated_execute_shortcode('eltdf_separator', $title_separator);
        } ?>
    </div>
	    </div>
	</div>
</div>

<?php do_action('calla_elated_after_page_title'); ?>
