file update

This commit is contained in:
magepeopleteam 2020-11-23 11:28:38 +00:00
parent c16a062a20
commit 26dac9671b
2 changed files with 26 additions and 14 deletions

View File

@ -2579,7 +2579,11 @@ function mep_event_recurring_date_list_in_event_list_loop($event_id){
<?php
}
if($recurring == 'yes'){
if($recurring == 'everyday'){
do_action('mep_event_everyday_date_list_display',$event_id);
}else{
foreach ($more_date as $_more_date) {
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
@ -2591,9 +2595,17 @@ function mep_event_recurring_date_list_in_event_list_loop($event_id){
<?php
}
}
}elseif($recurring == 'everyday'){
do_action('mep_event_everyday_date_list_display',$event_id);
}
echo '</ul>';
?>
<?php if($show_multidate == 'yes'){ ?><span id="show_event_schdule<?php echo $event_id; ?>" class='mep_more_date_btn mep-tem3-title-sec'><?php echo mep_get_option('mep_event_view_more_date_btn_text', 'label_setting_sec', __('View More Date', 'mage-eventpress')); //_e('View More Date','mage-eventpress'); ?></span><?php } ?>

View File

@ -79,7 +79,7 @@ $mep_hide_event_hover_btn_text = mep_get_option('mep_hide_event_hover_btn_text
</li>
<?php }
}
if ($hide_time_list == 'no' && $recurring == 'no') {
if ($hide_time_list == 'no' && $recurring == 'no' && sizeof($event_multidate) == 0) {
if (strtotime(current_time('Y-m-d H:i')) < strtotime($event_meta['event_start_datetime'][0])) {
?>
<li class="mep_list_event_date">