mage-eventpress/templates/list/winter.php

61 lines
4.0 KiB
PHP
Raw Normal View History

2021-09-20 01:52:52 -04:00
<?php
$event_type = get_post_meta(get_the_id(), 'mep_event_type', true) ? get_post_meta(get_the_id(), 'mep_event_type', true) : 'offline';
?>
<div class='mep-event-list-loop mep_event_list_item mep_event_winter_list mix <?php echo $org_class.' '.$cat_class; ?>'>
<?php do_action('mep_event_winter_list_loop_header',$event_id); ?>
<div class="mep_list_date_wrapper">
<i class="fas fa-caret-right"></i>
<h4 class='mep_winter_list_date'> <span class="mep_winter_list_dd"><?php echo $start_dd; ?></span><span class="mep_winter_list_mm_yy"><?php echo $start_mm_yy; ?></span></h4>
</div>
<div class="mep_list_winter_thumb_wrapper">
<a href="<?php echo get_the_permalink($event_id); ?>">
<div class="mep_list_winter_thumb" style="background-image:url(<?php mep_get_list_thumbnail_src($event_id); ?>)">
</div>
</a>
</div>
<div class="mep_list_event_details">
<h4 class="mep_list_title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<div class="mep_list_details_col_wrapper">
<div class="mep_list_details_col_one">
<span class="mep_price">
<?php if ($show_price == 'yes') {
echo $show_price_label . " " . mep_event_list_price($event_id);
} ?>
</span>
<a href="<?php the_permalink(); ?>">
<span class="mep_winter_event_time"><i class="far fa-clock"></i> <?php echo $start_time_format; ?> - <?php echo $end_time_format; ?></span>
<span class='mep_winter_event_location'><i class="fas fa-map-marker-alt"></i> <?php mep_get_event_city($event_id); ?></span>
<span class="mep_winter_event_date"><i class="far fa-calendar-alt"></i> <?php echo $start_date_format; ?> - <?php echo $end_date_format; ?></span>
</a>
</div>
<div class="mep_list_details_col_two">
<?php if ($available_seat == 0) {
do_action('mep_show_waitlist_label');
} ?>
<?php if (is_array($event_multidate) && sizeof($event_multidate) > 0 && $recurring == 'no') { ?>
<div class='mep-multidate-ribbon mep-tem3-title-sec'>
<span><?php echo mep_get_option('mep_event_multidate_ribon_text', 'label_setting_sec', __('Multi Date Event', 'mage-eventpress')); ?></span>
</div>
<?php } elseif($recurring != 'no'){
?>
<div class='mep-multidate-ribbon mep-tem3-title-sec'>
<span><?php echo mep_get_option('mep_event_recurring_ribon_text', 'label_setting_sec', __('Recurring Event', 'mage-eventpress')); ?></span>
</div>
<?php
}
if ($event_type == 'online') { ?>
<div class='mep-eventtype-ribbon mep-tem3-title-sec'>
<span><?php echo mep_get_option('mep_event_virtual_label', 'label_setting_sec') ? mep_get_option('mep_event_virtual_label', 'label_setting_sec') : _e('Virtual Event', 'mage-eventpress'); ?></span>
</div>
<?php }
?>
<?php do_action('mep_event_list_loop_footer',$event_id); ?>
</div>
</div>
</div>
<?php do_action('mep_event_winter_list_loop_end',$event_id); ?>
2021-09-03 06:25:05 -04:00
</div>