2018-07-02 05:44:24 -04:00
|
|
|
<?php
|
|
|
|
// Template Name: Default Theme
|
2019-12-15 02:35:27 -05:00
|
|
|
|
|
|
|
// 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');
|
|
|
|
|
2018-07-02 05:44:24 -04:00
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="mep-default-theme">
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-content">
|
|
|
|
<div class="mep-default-title">
|
|
|
|
<?php do_action( 'mep_event_title' ); ?>
|
|
|
|
</div>
|
|
|
|
<div class="mep-default-feature-image">
|
|
|
|
<?php do_action( 'mep_event_thumbnail' ); ?>
|
|
|
|
</div>
|
|
|
|
<div class="mep-default-feature-date-location">
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php if($hide_date_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-feature-date">
|
|
|
|
<div class="df-ico"><i class="fa fa-calendar"></i></div>
|
|
|
|
<div class='df-dtl'>
|
|
|
|
<h3>
|
|
|
|
<?php echo mep_get_option( 'mep_event_date_text', 'label_setting_sec' ) ? mep_get_option( 'mep_event_date_text', 'label_setting_sec' ) : _e( 'Event Date:', 'mage-eventpress' ); ?>
|
|
|
|
</h3>
|
|
|
|
<?php do_action( 'mep_event_date_only' ); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } if($hide_time_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-feature-time">
|
|
|
|
<div class="df-ico"><i class="fa fa-clock-o"></i></div>
|
|
|
|
<div class='df-dtl'>
|
|
|
|
<h3>
|
|
|
|
<?php echo mep_get_option( 'mep_event_time_text', 'label_setting_sec' ) ? mep_get_option( 'mep_event_time_text', 'label_setting_sec' ) : _e( 'Event Time:', 'mage-eventpress' ); ?>
|
|
|
|
</h3>
|
|
|
|
<?php do_action( 'mep_event_time_only' ); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } if($hide_location_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-feature-location">
|
|
|
|
<div class="df-ico"><i class="fa fa-map-marker"></i></div>
|
|
|
|
<div class='df-dtl'>
|
|
|
|
<h3>
|
|
|
|
<?php echo mep_get_option( 'mep_event_location_text', 'label_setting_sec' ) ? mep_get_option( 'mep_event_location_text', 'label_setting_sec' ) : _e( 'Event Location:', 'mage-eventpress' ); ?>
|
|
|
|
</h3>
|
|
|
|
<p><?php do_action( 'mep_event_location_venue' ); ?>
|
|
|
|
, <?php do_action( 'mep_event_location_city' ); ?> </p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
</div>
|
|
|
|
<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' ) ?>
|
|
|
|
</div>
|
2018-07-05 06:10:06 -04:00
|
|
|
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-feature-faq-sec">
|
|
|
|
<?php do_action( 'mep_event_faq' ); ?>
|
|
|
|
</div>
|
2018-07-05 06:10:06 -04:00
|
|
|
|
|
|
|
|
2019-07-18 07:51:42 -04:00
|
|
|
</div>
|
|
|
|
<div class="mep-default-sidebar">
|
|
|
|
<div class="mep-default-sidrbar-map">
|
|
|
|
<h3><?php echo mep_get_option( 'mep_event_location_text', 'label_setting_sec' ) ? mep_get_option( 'mep_event_location_text', 'label_setting_sec' ) : _e( 'Event Location:', 'mage-eventpress' ); ?>
|
|
|
|
</h3>
|
|
|
|
</h3>
|
|
|
|
<?php do_action( 'mep_event_map' ); ?>
|
|
|
|
</div>
|
|
|
|
<div class="df-sidebar-part">
|
|
|
|
<div class="mep-default-sidrbar-price-seat">
|
2019-12-15 02:35:27 -05:00
|
|
|
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="df-price"><?php do_action( 'mep_event_price' ); ?></div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php if($hide_total_seat_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="df-seat"><?php do_action( 'mep_event_seat' ); ?></div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php if($hide_org_by_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-sidrbar-meta">
|
|
|
|
<i class="fa fa-link"></i> <?php do_action( 'mep_event_organizer' ); ?>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } if($hide_address_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-sidrbar-address">
|
|
|
|
<ul>
|
|
|
|
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action( 'mep_event_location_venue' ); ?></li>
|
|
|
|
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action( 'mep_event_location_street' ); ?></li>
|
|
|
|
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action( 'mep_event_location_city' ); ?></li>
|
|
|
|
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action( 'mep_event_location_state' ); ?></li>
|
|
|
|
<li><i class="fa fa-arrow-circle-right"></i> <?php do_action( 'mep_event_location_country' ); ?>
|
|
|
|
</li>
|
|
|
|
<!-- <li><i class="fa fa-arrow-circle-right"></i> -->
|
|
|
|
<?php //do_action('mep_event_date'); ?><!--</li>-->
|
|
|
|
</ul>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } if($hide_schedule_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-sidrbar-events-schedule">
|
|
|
|
<?php do_action( 'mep_event_date_default_theme' ); ?>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } if($hide_share_details == 'no'){ ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-sidrbar-social">
|
|
|
|
<?php do_action( 'mep_event_social_share' ); ?>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } if($hide_calendar_details == 'no'){?>
|
2019-07-18 07:51:42 -04:00
|
|
|
<div class="mep-default-sidrbar-calender-btn">
|
|
|
|
<?php do_action( 'mep_event_add_calender' ); ?>
|
|
|
|
</div>
|
2019-12-15 02:35:27 -05:00
|
|
|
<?php } ?>
|
2019-07-18 07:51:42 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-02 05:44:24 -04:00
|
|
|
</div>
|