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

90 lines
5.1 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: Franklin
// Settings Value :::::::::::::::::::::::::::::::::::::::;
2022-04-12 01:00:35 -04:00
$hide_date_details = mep_get_option('mep_event_hide_date_from_details', 'single_event_setting_sec', 'no');
$hide_time_details = mep_get_option('mep_event_hide_time_from_details', 'single_event_setting_sec', 'no');
$hide_location_details = mep_get_option('mep_event_hide_location_from_details', 'single_event_setting_sec', 'no');
$hide_total_seat_details = mep_get_option('mep_event_hide_total_seat_from_details', 'single_event_setting_sec', 'no');
$hide_org_by_details = mep_get_option('mep_event_hide_org_from_details', 'single_event_setting_sec', 'no');
$hide_address_details = mep_get_option('mep_event_hide_address_from_details', 'single_event_setting_sec', 'no');
$hide_schedule_details = mep_get_option('mep_event_hide_event_schedule_details', 'single_event_setting_sec', 'no');
$hide_share_details = mep_get_option('mep_event_hide_share_this_details', 'single_event_setting_sec', 'no');
$hide_calendar_details = mep_get_option('mep_event_hide_calendar_details', 'single_event_setting_sec', 'no');
$speaker_status = mep_get_option('mep_enable_speaker_list', 'single_event_setting_sec', 'no');
2018-07-02 05:44:24 -04:00
?>
2020-01-22 07:15:24 -05:00
<div class="mep-default-theme franklin">
<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-content">
2021-10-31 07:01:04 -04:00
<h4 class="mep-cart-table-title"><?php esc_html_e('Description', 'mage-eventpress'); ?></h4>
2020-01-22 07:15:24 -05:00
<?php do_action('mep_event_details'); ?>
<div class="mep-theme1-faq-sec">
2020-04-28 06:37:33 -04:00
<?php do_action('mep_event_faq',get_the_id()); ?>
2020-01-22 07:15:24 -05:00
</div>
</div>
<div class="franklin_divided">
<div class="franklin_divided_left">
<div class="mep-default-sidrbar-map">
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>
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>
<div class="franklin_divided_sidebar">
<div class="franklin_divided_sidebar_bac">
<?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_org_by_details == 'no') { ?>
<div class="mep-default-sidrbar-meta">
2021-08-08 01:03:30 -04:00
<i class="far fa-list-alt"></i> <?php do_action('mep_event_organizer'); ?>
2020-01-22 07:15:24 -05:00
</div>
2021-08-08 01:03:30 -04:00
<?php }
2020-01-22 07:15:24 -05:00
if ($hide_address_details == 'no') { ?>
<div class="mep-default-sidrbar-address">
<ul>
2021-08-08 01:03:30 -04:00
<?php if(mep_location_existis('mep_location_venue',get_the_id())){ ?> <li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_venue'); ?></li><?php } ?>
<?php if(mep_location_existis('mep_street',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_street'); ?></li><?php } ?>
<?php if(mep_location_existis('mep_city',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_city'); ?></li><?php } ?>
<?php if(mep_location_existis('mep_state',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_state'); ?></li><?php } ?>
<?php if(mep_location_existis('mep_country',get_the_id())){ ?><li><i class="fa fa-arrow-circle-right"></i> <?php do_action('mep_event_location_country'); ?><?php } ?>
2020-01-22 07:15:24 -05:00
</li>
</ul>
</div>
<?php }
if ($hide_schedule_details == 'no') { ?>
<div class="mep-default-sidrbar-events-schedule">
2020-04-28 06:37:33 -04:00
<?php do_action('mep_event_date_default_theme',get_the_id()); ?>
2020-01-22 07:15:24 -05:00
</div>
<?php }
if ($hide_share_details == 'no') { ?>
<div class="mep-default-sidrbar-social">
<?php do_action('mep_event_social_share'); ?>
</div>
<?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>
</div>
</div>
2021-10-31 07:01:04 -04:00
</div>