mage-eventpress/templates/single/date_list.php

20 lines
815 B
PHP

<li>
<span class="mep-more-date">
<i class="fa fa-calendar"></i>
<span class='mep_date_scdl_start_datetime'>
<?php echo esc_html(get_mep_datetime($start_datetime, 'date-text')); ?>
<?php echo esc_html(get_mep_datetime($start_datetime, 'time')); ?>
</span>
<?php if ($end_date_display_status == 'yes') { ?>
<span class='mep_date_scdl_end_datetime'>
&nbsp;<span class="mep_date_scdl_separator"> - </span>&nbsp;
<?php
if ($start_date != $end_date) {
esc_html(get_mep_datetime($end_datetime, 'date-text'));
}
echo ' ' . esc_html(get_mep_datetime($end_datetime, 'time'));
?>
</span>
<?php } ?>
</span>
</li>