2021-09-20 01:52:52 -04:00
< ? php
// Template Name: Vanilla
// Settings Value :::::::::::::::::::::::::::::::::::::::;
$hide_date_details = mep_get_option ( 'mep_event_hide_date_from_details' , 'general_setting_sec' , 'no' );
$hide_time_details = mep_get_option ( 'mep_event_hide_time_from_details' , 'general_setting_sec' , 'no' );
$hide_location_details = mep_get_option ( 'mep_event_hide_location_from_details' , 'general_setting_sec' , 'no' );
$hide_total_seat_details = mep_get_option ( 'mep_event_hide_total_seat_from_details' , 'general_setting_sec' , 'no' );
$hide_org_by_details = mep_get_option ( 'mep_event_hide_org_from_details' , 'general_setting_sec' , 'no' );
$hide_address_details = mep_get_option ( 'mep_event_hide_address_from_details' , 'general_setting_sec' , 'no' );
$hide_schedule_details = mep_get_option ( 'mep_event_hide_event_schedule_details' , 'general_setting_sec' , 'no' );
$hide_share_details = mep_get_option ( 'mep_event_hide_share_this_details' , 'general_setting_sec' , 'no' );
$hide_calendar_details = mep_get_option ( 'mep_event_hide_calendar_details' , 'general_setting_sec' , 'no' );
$speaker_status = mep_get_option ( 'mep_enable_speaker_list' , 'general_setting_sec' , 'no' );
2021-09-26 05:42:42 -04:00
2021-09-20 01:52:52 -04:00
?>
2021-09-26 05:42:42 -04:00
2022-03-03 01:49:31 -05:00
< div class = " mep-default-theme vanilla_theme " >
2021-09-20 01:52:52 -04:00
< div class = " mep-default-content " >
< div class = " mep-default-feature-image " >
< ? php do_action ( 'mep_event_thumbnail' ); ?>
</ div >
< div class = " mep-default-title " >
< ? php do_action ( 'mep_event_title' ); ?>
2021-10-29 02:57:05 -04:00
</ div >
2021-09-20 01:52:52 -04:00
< div class = " mep-default-feature-date-location " >
< ? php if ( $hide_date_details == 'no' ) { ?>
< div class = " mep-default-feature-date " >
< div class = " df-ico " >< i class = " fa fa-calendar " ></ i ></ div >
< div class = 'df-dtl' >
< h3 >
2021-10-31 07:01:04 -04:00
< ? php echo mep_get_option ( 'mep_event_date_text' , 'label_setting_sec' ) ? mep_get_option ( 'mep_event_date_text' , 'label_setting_sec' ) : esc_html__ ( 'Event Date:' , 'mage-eventpress' ); ?>
2021-09-20 01:52:52 -04:00
</ h3 >
2021-10-29 02:57:05 -04:00
< ? php do_action ( 'mep_event_date_only' , get_the_id ()); ?>
2021-09-20 01:52:52 -04:00
</ div >
</ div >
< ? php }
if ( $hide_time_details == 'no' ) { ?>
< div class = " mep-default-feature-time " >
< div class = " df-ico " >< i class = " fa fa-clock-o " ></ i ></ div >
< div class = 'df-dtl' >
< h3 >
2021-10-31 07:01:04 -04:00
< ? php echo mep_get_option ( 'mep_event_time_text' , 'label_setting_sec' ) ? mep_get_option ( 'mep_event_time_text' , 'label_setting_sec' ) : esc_html__ ( 'Event Time:' , 'mage-eventpress' ); ?>
2021-09-20 01:52:52 -04:00
</ h3 >
2021-10-29 02:57:05 -04:00
< ? php do_action ( 'mep_event_time_only' , get_the_id ()); ?>
2021-09-20 01:52:52 -04:00
</ div >
</ div >
< ? php }
if ( $hide_location_details == 'no' ) { ?>
< div class = " mep-default-feature-location " >
2021-10-29 02:57:05 -04:00
< div class = " df-ico " >< i class = " fas fa-map-marker-alt " ></ i ></ div >
2021-09-20 01:52:52 -04:00
< div class = 'df-dtl' >
< h3 >
2021-10-31 07:01:04 -04:00
< ? php echo mep_get_option ( 'mep_event_location_text' , 'label_setting_sec' ) ? mep_get_option ( 'mep_event_location_text' , 'label_setting_sec' ) : esc_html__ ( 'Event Location:' , 'mage-eventpress' ); ?>
2021-09-20 01:52:52 -04:00
</ h3 >
< p >
< span >< ? php do_action ( 'mep_event_location_venue' ); ?> </span>
2021-10-29 02:57:05 -04:00
< ? php do_action ( 'mep_event_location_street' ); ?>
2021-09-20 01:52:52 -04:00
< ? php do_action ( 'mep_event_location_city' ); ?>
2021-10-29 02:57:05 -04:00
< ? php do_action ( 'mep_event_location_state' ); ?>
< ? php do_action ( 'mep_event_location_country' ); ?>
2021-09-20 01:52:52 -04:00
</ p >
</ div >
</ div >
< ? php } ?>
</ div >
2021-10-29 02:57:05 -04:00
< div class = " mep-default-col-wrapper " >
< ? php if ( $hide_location_details == 'no' ) { ?>
< div class = " mep-default-col-1 " >
< div class = " mep-default-sidrbar-map " >
< h3 >
2021-10-31 07:01:04 -04:00
< ? php echo mep_get_option ( 'mep_event_location_text' , 'label_setting_sec' ) ? mep_get_option ( 'mep_event_location_text' , 'label_setting_sec' ) : esc_html__ ( 'Find Location On Google Map:' , 'mage-eventpress' ); ?>
2021-10-29 02:57:05 -04:00
</ h3 >
< ? php do_action ( 'mep_event_map' , get_the_id ()); ?>
</ div >
2021-09-26 05:42:42 -04:00
2021-10-29 02:57:05 -04:00
< ? php if ( $hide_calendar_details == 'no' ) { ?>
< div class = " mep-default-sidrbar-calender-btn " >
< ? php do_action ( 'mep_event_add_calender' , get_the_id ()); ?>
</ div >
< ? php } ?>
2021-09-20 01:52:52 -04:00
</ div >
2021-10-29 02:57:05 -04:00
< ? php } ?>
< div class = " mep-default-col-2 " >
< ? php if ( $hide_org_by_details == 'no' ) { ?>
< div class = " mep-default-sidrbar-meta " >
< i class = " far fa-list-alt " ></ i > < ? php do_action ( 'mep_event_organizer' ); ?>
</ div >
< ? php }
2021-09-20 01:52:52 -04:00
2021-10-29 02:57:05 -04:00
if ( $hide_schedule_details == 'no' ) { ?>
< div class = " mep-default-sidrbar-events-schedule " >
< ? php do_action ( 'mep_event_date_default_theme' , get_the_id ()); ?>
</ div >
< ? php } ?>
2021-09-20 01:52:52 -04:00
2021-10-29 02:57:05 -04:00
< ? php if ( $hide_total_seat_details == 'no' ) { ?>
< div class = " mep-default-sidrbar-price-seat " >
< div class = " df-seat " >< ? php do_action ( 'mep_event_seat' ); ?> </div>
</ div >
< ? php } ?>
2021-09-20 01:52:52 -04:00
</ div >
2021-10-29 02:57:05 -04:00
</ div >
2021-09-20 01:52:52 -04:00
< div class = " mep-default-feature-content " >
< ? php do_action ( 'mep_event_details' ); ?>
</ div >
< div class = " mep-default-feature-cart-sec " >
< ? php do_action ( 'mep_add_to_cart' , get_the_id ()) ?>
</ div >
< ? php if ( $hide_share_details == 'no' ) { ?>
< div class = " mep-default-sidrbar-social " >
< ? php do_action ( 'mep_event_social_share' ); ?>
</ div >
< ? php } ?>
< div class = " mep-default-feature-faq-sec " >
2021-10-29 02:57:05 -04:00
< ? php do_action ( 'mep_event_faq' , get_the_id ()); ?>
2021-09-20 01:52:52 -04:00
</ div >
</ div >
</ div >