22 lines
933 B
PHP
22 lines
933 B
PHP
<li>
|
|
<a href="<?php echo get_the_permalink($event_id) . esc_attr('?date=' . strtotime($start_datetime)); ?>">
|
|
<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'>
|
|
<span class="mep_date_scdl_separator"> - </span>
|
|
<?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>
|
|
</a>
|
|
</li>
|