mage-eventpress/templates/themes/theme-3.php

98 lines
4.6 KiB
PHP
Raw Normal View History

2020-01-22 07:15:24 -05:00
<?php
2018-07-02 05:44:24 -04:00
// Template Name: Bristol
// 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');
2020-04-28 06:37:33 -04:00
$speaker_status = mep_get_option('mep_enable_speaker_list', 'general_setting_sec', 'no');
2020-10-26 07:41:46 -04:00
$event_label = mep_get_option('mep_event_label', 'general_setting_sec', 'Events');
2018-07-02 05:44:24 -04:00
?>
2020-01-22 07:15:24 -05:00
<div class="mep-default-theme bristol">
<div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?>
</div>
<div class="mep-default-title">
<?php do_action('mep_event_title'); ?>
</div>
<div class="bristol_divided">
<?php if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-feature-date">
<div class="df-ico"><i class="fa fa-calendar"></i></div>
<div class='df-dtl'>
<h3><?php _e('Date and Time:', 'mage-eventpress'); ?></h3>
<?php do_action('mep_event_date'); ?>
</div>
</div>
<?php }?>
<?php if ($hide_location_details == 'no') { ?>
<div class="mep-default-feature-location">
<div class="df-ico"><i class="fa fa-map-marker"></i></div>
<div class='df-dtl'>
<h3>
2020-10-26 07:41:46 -04:00
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : _e("$event_label Location:", 'mage-eventpress'); ?>
2020-01-22 07:15:24 -05:00
</h3>
<p><?php do_action('mep_event_location_venue'); ?>
2020-07-20 06:01:44 -04:00
, <?php do_action('mep_event_location_city'); ?> </p>
2020-01-22 07:15:24 -05:00
</div>
</div>
<?php } ?>
2020-08-05 08:06:45 -04:00
2020-01-22 07:15:24 -05:00
<?php if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?>
</div>
<?php } ?>
2020-08-05 08:06:45 -04:00
<?php if ($hide_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta">
<i class="fa fa-link"></i> <?php do_action('mep_event_organizer'); ?>
</div>
<?php } ?>
2020-01-22 07:15:24 -05:00
</div>
<div class="bristol_center_box">
<?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 } ?>
<?php if ($hide_calendar_details == 'no') { ?>
<div class="mep-default-sidrbar-calender-btn">
2020-04-28 06:37:33 -04:00
<?php do_action('mep_event_add_calender',get_the_id()); ?>
2020-01-22 07:15:24 -05:00
</div>
<?php } ?>
</div>
2020-04-28 06:37:33 -04:00
<?php
if($speaker_status == 'yes'){ ?>
<div class="mep-default-feature-content mep_theme_franklin_sidebar_speaker_list mep-default-sidebar-speaker-list">
<?php do_action('mep_event_speakers_list',get_the_id()); ?>
</div>
<?php
}
?>
2020-01-22 07:15:24 -05:00
<div class="mep-default-feature-cart-sec">
2020-04-28 06:37:33 -04:00
<?php do_action('mep_add_to_cart',get_the_id()) ?>
2020-01-22 07:15:24 -05:00
</div>
<div class="mep-default-feature-content">
2020-10-26 07:41:46 -04:00
<h4 class="mep-cart-table-title"><?php _e("About The $event_label", 'mage-eventpress'); ?></h4>
2020-01-22 07:15:24 -05:00
<?php do_action('mep_event_details'); ?>
</div>
<div class="mep-default-sidrbar-map">
<h4 class="mep-cart-table-title">
2020-10-26 07:41:46 -04:00
<?php echo mep_get_option('mep_event_location_text', 'label_setting_sec') ? mep_get_option('mep_event_location_text', 'label_setting_sec') : _e("$event_label Location:", 'mage-eventpress'); ?>
2020-01-22 07:15:24 -05:00
</h4>
2020-04-28 06:37:33 -04:00
<?php do_action('mep_event_map',get_the_id()); ?>
2020-01-22 07:15:24 -05:00
</div>
</div>