2021-10-06 03:05:09 -04:00
|
|
|
<?php
|
|
|
|
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
|
|
|
|
|
|
|
|
$taxonomy_category = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_cat');
|
|
|
|
$taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org');
|
2021-10-28 06:05:48 -04:00
|
|
|
// $date = mep_get_event_upcomming_date($event_id, 'date');
|
2021-10-31 07:01:04 -04:00
|
|
|
$date = get_post_meta($event_id, 'event_upcoming_datetime', true);
|
2022-04-12 01:00:35 -04:00
|
|
|
$event_location_icon = mep_get_option('mep_event_location_icon', 'icon_setting_sec', 'fas fa-map-marker-alt');
|
2021-10-06 03:05:09 -04:00
|
|
|
?>
|
2021-10-29 02:57:05 -04:00
|
|
|
<div class='filter_item mep-event-list-loop mep_event_list_item mep_event_native_list mix <?php echo esc_attr($org_class) . ' ' . esc_attr($cat_class); ?>'
|
|
|
|
data-title="<?php echo esc_attr(get_the_title($event_id)); ?>"
|
|
|
|
data-city-name="<?php echo esc_attr(get_post_meta($event_id, 'mep_city', true)); ?>"
|
|
|
|
data-category="<?php echo esc_attr($taxonomy_category); ?>"
|
|
|
|
data-organizer="<?php echo esc_attr($taxonomy_organizer); ?>"
|
2022-03-03 01:49:31 -05:00
|
|
|
data-date="<?php echo esc_attr(date('m/d/Y',strtotime($date))); ?>"
|
2021-10-06 03:05:09 -04:00
|
|
|
>
|
|
|
|
<?php do_action('mep_event_minimal_list_loop_header', $event_id); ?>
|
2021-10-31 07:01:04 -04:00
|
|
|
<div class="mep_list_thumb">
|
|
|
|
<a href="<?php echo get_the_permalink($event_id); ?>">
|
|
|
|
<div class="mep_bg_thumb" data-bg-image="<?php mep_get_list_thumbnail_src($event_id, 'thumbnail'); ?>"></div>
|
|
|
|
</a>
|
|
|
|
</div>
|
2021-10-06 03:05:09 -04:00
|
|
|
|
|
|
|
<div class="mep_list_event_details">
|
|
|
|
<a href="<?php the_permalink(); ?>">
|
|
|
|
<div class="mep-list-header">
|
|
|
|
<h2 class='mep_list_title'><?php the_title(); ?></h2>
|
|
|
|
<?php if ($available_seat == 0) {
|
|
|
|
do_action('mep_show_waitlist_label');
|
|
|
|
} ?>
|
2021-10-31 07:01:04 -04:00
|
|
|
<h3 class='mep_list_date'>
|
|
|
|
<?php do_action('mep_event_list_date_li', $event_id, 'minimal'); ?>
|
|
|
|
<span class='mep_minimal_list_location'>
|
2022-04-12 01:00:35 -04:00
|
|
|
<i class='<?php echo $event_location_icon; ?>'></i>
|
2021-10-31 07:01:04 -04:00
|
|
|
<?php mep_get_event_city($event_id); ?>
|
|
|
|
</span>
|
|
|
|
</h3>
|
2021-10-06 03:05:09 -04:00
|
|
|
</a>
|
|
|
|
<?php do_action('mep_event_list_loop_footer', $event_id); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php do_action('mep_event_minimal_list_loop_end', $event_id); ?>
|
|
|
|
</div>
|