style issue fixed

This commit is contained in:
magepeopleteam 2021-10-19 11:29:03 +00:00
parent 41d75e31ca
commit 8753841f21
4 changed files with 2472 additions and 786 deletions

File diff suppressed because it is too large Load Diff

View File

@ -19,12 +19,11 @@ function mep_fw_meta_boxs()
'page_nav' => __('Speakers Meta Box', 'mage-eventpress'),
'priority' => 10,
'sections' => array(
'section_2' => array(
'title' => __('', 'mage-eventpress'),
'description' => __('', 'mage-eventpress'),
'options' => array(
// Meta Boxes Will Here as Array
'section_2' => array(
'title' => __('', 'mage-eventpress'),
'description' => __('', 'mage-eventpress'),
'options' => array(
)
),

View File

@ -28,7 +28,7 @@ if (post_password_required()) {
do_action('mep_event_single_page_after_header');
?>
<div class="mep-events-wrapper wrapper">
<div class="mep-events-container container">
<div class="mep-events-container">
<?php
if (!class_exists('WC_Bundles')) {
do_action('woocommerce_before_single_product');

129
templates/themes/royal.php Normal file
View File

@ -0,0 +1,129 @@
<?php
// Template Name: Royal
// 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');
?>
<div class="mep-default-theme mep_flex royal_theme">
<div class="mep-default-content">
<?php if ($hide_location_details == 'no') { ?>
<div class="mep-default-sidrbar-map">
<?php do_action('mep_event_map',get_the_id()); ?>
</div>
<?php } ?>
<div class="mep-royal-header">
<div class="mep-royal-header-col-1">
<div class="mep-default-title">
<?php do_action('mep_event_title'); ?>
</div>
<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>
<?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',get_the_id()); ?>
</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>
<?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',get_the_id()); ?>
</div>
</div>
<?php }
if ($hide_location_details == 'no') { ?>
<div class="mep-default-feature-location">
<div class="df-ico"><i class="fas fa-map-marker-alt"></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>
<span><?php do_action('mep_event_location_venue'); ?></span>
<?php do_action('mep_event_location_street'); ?>
<?php do_action('mep_event_location_city'); ?>
<?php do_action('mep_event_location_state'); ?>
<?php do_action('mep_event_location_country'); ?>
</p>
</div>
</div>
<?php } ?>
</div>
</div>
<div class="mep-royal-header-col-2">
<div class="mep-default-feature-image">
<?php do_action('mep_event_thumbnail'); ?>
</div>
</div>
</div>
<div class="mep-default-col-wrapper">
<div class="mep-default-col-1">
<div class="mep-default-feature-cart-sec">
<?php do_action('mep_add_to_cart', get_the_id()) ?>
</div>
</div>
<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 }
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 } ?>
<?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">
<?php do_action('mep_event_add_calender',get_the_id()); ?>
</div>
<?php } ?>
</div>
</div>
<div class="mep-default-feature-content">
<?php do_action('mep_event_details'); ?>
</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">
<?php do_action('mep_event_faq',get_the_id()); ?>
</div>
</div>
</div>