v 3.5.4 released

This commit is contained in:
magepeopleteam 2021-11-11 08:20:02 +00:00
parent 857f88b539
commit 78c7433f10
11 changed files with 567 additions and 410 deletions

View File

@ -413,7 +413,7 @@ iframe#gmap_canvas {width: 100%; height: 300px;}
#mp_event_all_info_in_tab p button span {margin: 0 7px 0 0;}
#mp_event_all_info_in_tab ul {list-style-type: none;margin: 0;padding: 0;}
#mp_event_all_info_in_tab ul li {-webkit-align-items: center;align-items: center;}
#mp_event_all_info_in_tab ul li {display: -webkit-flex;display: flex;-webkit-align-items: center;align-items: center;}
#mp_event_all_info_in_tab h5 {font-size: 18px;font-weight: 500;margin: 0 0 5px 0;}
#mp_event_all_info_in_tab .mp_ticket_type_table~.mp_form_area label{margin: 15px 0;}

File diff suppressed because it is too large Load Diff

View File

@ -840,6 +840,36 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
'desc' => __('Select a color for FAQ Title Text', 'mage-eventpress'),
'type' => 'color',
),
array(
'name' => 'mep_royal_primary_bg_color',
'label' => __('Royal Template Primary Background Color', 'mage-eventpress'),
'desc' => __('Select a primary background color for royal template', 'mage-eventpress'),
'type' => 'color',
),
array(
'name' => 'mep_royal_secondary_bg_color',
'label' => __('Royal Template Secondary Background Color', 'mage-eventpress'),
'desc' => __('Select a secondary background color for royal template', 'mage-eventpress'),
'type' => 'color',
),
array(
'name' => 'mep_royal_icons_bg_color',
'label' => __('Royal Template Icons Background Color', 'mage-eventpress'),
'desc' => __('Select icons background color for royal template', 'mage-eventpress'),
'type' => 'color',
),
array(
'name' => 'mep_royal_border_color',
'label' => __('Royal Template Border Color', 'mage-eventpress'),
'desc' => __('Select border color for royal template', 'mage-eventpress'),
'type' => 'color',
),
array(
'name' => 'mep_royal_text_color',
'label' => __('Royal Template Text Color', 'mage-eventpress'),
'desc' => __('Select text color for royal template', 'mage-eventpress'),
'type' => 'color',
),
)
),

View File

@ -2929,13 +2929,13 @@ if (!function_exists('mep_avada_mini_cart_price_fixed')) {
if (!function_exists('mage_array_strip')) {
function mage_array_strip($array_or_string) {
if (is_string($array_or_string)) {
$array_or_string = sanitize_text_field($array_or_string);
$array_or_string = sanitize_text_field(htmlentities(nl2br($array_or_string)));
} elseif (is_array($array_or_string)) {
foreach ($array_or_string as $key => &$value) {
if (is_array($value)) {
$value = mage_array_strip($value);
} else {
$value = sanitize_text_field($value);
$value = sanitize_text_field(htmlentities(nl2br($value)));
}
}
}

View File

@ -6,16 +6,21 @@ if (!defined('ABSPATH')) {
add_action('wp_head', 'mep_user_custom_styles', 10, 999);
function mep_user_custom_styles()
{
$base_color = mep_get_option('mep_base_color', 'style_setting_sec', '#ffbe30');
$label_bg_color = mep_get_option('mep_title_bg_color', 'style_setting_sec', '#ffbe30');
$label_text_color = mep_get_option('mep_title_text_color', 'style_setting_sec', '#ffffff');
$cart_btn_bg_color = mep_get_option('mep_cart_btn_bg_color', 'style_setting_sec', '#ffbe30');
$cart_btn_txt_color = mep_get_option('mep_cart_btn_text_color', 'style_setting_sec', '#ffffff');
$base_color = mep_get_option('mep_base_color', 'style_setting_sec', '#ffbe30');
$label_bg_color = mep_get_option('mep_title_bg_color', 'style_setting_sec', '#ffbe30');
$label_text_color = mep_get_option('mep_title_text_color', 'style_setting_sec', '#ffffff');
$cart_btn_bg_color = mep_get_option('mep_cart_btn_bg_color', 'style_setting_sec', '#ffbe30');
$cart_btn_txt_color = mep_get_option('mep_cart_btn_text_color', 'style_setting_sec', '#ffffff');
$calender_btn_bg_color = mep_get_option('mep_calender_btn_bg_color', 'style_setting_sec', '#ffbe30');
$calender_btn_txt_color = mep_get_option('mep_calender_btn_text_color', 'style_setting_sec', '#ffffff');
$faq_label_bg_color = mep_get_option('mep_faq_title_bg_color', 'style_setting_sec', '#ffbe30');
$faq_label_text_color = mep_get_option('mep_faq_title_text_color', 'style_setting_sec', '#ffffff');
$calender_btn_bg_color = mep_get_option('mep_calender_btn_bg_color', 'style_setting_sec', '#ffbe30');
$calender_btn_txt_color = mep_get_option('mep_calender_btn_text_color', 'style_setting_sec', '#ffffff');
$faq_label_bg_color = mep_get_option('mep_faq_title_bg_color', 'style_setting_sec', '#ffbe30');
$faq_label_text_color = mep_get_option('mep_faq_title_text_color', 'style_setting_sec', '#ffffff');
$royal_primary_bg_color = mep_get_option('mep_royal_primary_bg_color', 'style_setting_sec', '');
$royal_secondary_bg_color = mep_get_option('mep_royal_secondary_bg_color', 'style_setting_sec', '');
$royal_icons_bg_color = mep_get_option('mep_royal_icons_bg_color', 'style_setting_sec', '');
$royal_border_color = mep_get_option('mep_royal_border_color', 'style_setting_sec', '');
$royal_text_color = mep_get_option('mep_royal_text_color', 'style_setting_sec', '');
?>
<style>
@ -63,7 +68,15 @@ function mep_user_custom_styles()
/*Cart sec Label Style*/
.mep-default-feature-cart-sec h3, .mep-event-theme-1 h3.ex-sec-title, .mep-tem3-mid-sec h3.ex-sec-title, .mep-tem3-title-sec {
.mep-default-feature-cart-sec h3, .mep-event-theme-1 h3.ex-sec-title, .mep-tem3-mid-sec h3.ex-sec-title, .mep-tem3-title-sec,
.royal_theme h3.ex-sec-title,
.mep-events-wrapper .royal_theme table.mep_event_add_cart_table,
.vanilla_theme.mep-default-theme div.mep-default-feature-date,
.vanilla_theme.mep-default-theme div.mep-default-feature-time,
.vanilla_theme.mep-default-theme div.mep-default-feature-location,
.vanilla_theme h3.ex-sec-title,
.vanilla_theme div.df-dtl h3,
.vanilla_theme div.df-dtl p{
background: <?php echo esc_attr($label_bg_color); ?>;
color: <?php echo esc_attr($label_text_color); ?>;
}
@ -74,7 +87,7 @@ function mep_user_custom_styles()
color: <?php echo esc_attr($faq_label_text_color); ?>;
}
h3.ex-sec-title {
h3.ex-sec-title{
background: <?php echo esc_attr($base_color); ?>;
}
@ -86,7 +99,7 @@ function mep_user_custom_styles()
}
/*Calender Button Style*/
.mep-default-sidrbar-calender-btn a, .mep-event-theme-1 .mep-add-calender, .mep-template-2-hamza .mep-add-calender, .mep-tem3-mid-sec .mep-add-calender, #mep_add_calender_button {
.mep-default-sidrbar-calender-btn a, .mep-event-theme-1 .mep-add-calender, .mep-template-2-hamza .mep-add-calender, .mep-tem3-mid-sec .mep-add-calender, #mep_add_calender_button, .royal_theme #mep_add_calender_button, .royal_theme ul#mep_add_calender_links li a {
background: <?php echo esc_attr($calender_btn_bg_color); ?>;
color: <?php echo esc_attr($calender_btn_txt_color); ?> !important;
border-color: <?php echo esc_attr($calender_btn_bg_color); ?>;
@ -98,6 +111,43 @@ function mep_user_custom_styles()
/**/
.mep_list_event_details p.read-more a{
color: <?php echo esc_attr($base_color); ?>;
}
.royal_theme .mep-royal-header,
.royal_theme .mep-default-feature-content{
background: <?php echo esc_attr($royal_primary_bg_color); ?>;
}
.royal_theme .mep-default-col-1,
.royal_theme .mep-default-col-2{
background-color: <?php echo esc_attr($royal_secondary_bg_color); ?>;
}
.royal_theme .df-ico i,
.royal_theme .mep-default-sidrbar-social ul li a,
.royal_theme .mep-default-sidrbar-events-schedule ul li i{
background-color: <?php echo esc_attr($royal_icons_bg_color); ?>;
}
.royal_theme .mep-default-title,
.royal_theme div.df-dtl h3,
.royal_theme .mep-default-col-2,
.mep-events-wrapper .royal_theme table td{
border-color: <?php echo esc_attr($royal_border_color); ?>;
}
.royal_theme .mep-default-title h2,
.royal_theme .section-heading h2,
.royal_theme div.df-dtl h3,
.royal_theme div.df-dtl p,
.royal_theme .mep-default-sidrbar-map h3,
.royal_theme .mep-default-sidrbar-events-schedule h3,
.royal_theme h4.mep-cart-table-title,
.royal_theme table td,
.royal_theme div.mep-default-feature-content p,
.royal_theme div.mep-default-feature-content ul,
.royal_theme div.mep-default-feature-content ul li,
.royal_theme .mep-default-sidrbar-meta p,
.royal_theme .mep-default-sidrbar-meta p a,
.royal_theme .mep-default-sidrbar-events-schedule h3,
.royal_theme .mep-default-sidrbar-events-schedule,
.royal_theme .mep-default-sidrbar-price-seat h5{
color: <?php echo esc_attr($royal_text_color); ?>;
}
<?php do_action('mep_event_user_custom_styling'); ?>
</style>

View File

@ -5986,7 +5986,7 @@ if( ! class_exists( 'FormFieldsGenerator' ) ) {
<div <?php if(!empty($depends)) {?> data-depends="[<?php echo esc_attr($depends); ?>]" <?php } ?> id="field-wrapper-<?php echo esc_attr($id); ?>" class="<?php if(!empty($depends)) echo 'dependency-field'; ?> field-wrapper field-wp_editor-wrapper
field-wp_editor-wrapper-<?php echo esc_attr($id); ?>">
<?php
wp_editor( $value, $id, $settings = $editor_settings);
wp_editor( html_entity_decode(nl2br($value)), $id, $settings = $editor_settings);
?>
<div class="error-mgs"></div>
</div>

View File

@ -2,7 +2,7 @@
Contributors: magepeopleteam, aamahin
Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events
Requires at least: 5.3
Stable tag: 3.5.3
Stable tag: 3.5.4
Version: 2.1.3
Tested up to: 5.8.1
WC requires at least: 3.0
@ -779,4 +779,15 @@ New Event list style
Security issue fixed
Style Issue fixed
Bug Fixed
28 Oct 2021*
28 Oct 2021*
= 3.5.4=
* Update Release:
Event Setting Not saving issue fixed
Email Body Text Formating issue fixed
Royel Theme styling issue fixed
Mobile Responsive issue fixed
Security issue fixed
Style Issue fixed
Bug Fixed
11 Nov 2021*

View File

@ -1,6 +1,7 @@
<?php
get_header();
the_post();
do_action('mep_before_events_speaker_wrapper');
?>
<div class="mep_events_speaker_wraper">
<div class="mep_speaker_thumbnail">
@ -46,4 +47,5 @@ the_post();
</div>
</div>
<?php
do_action('mep_after_events_speaker_wrapper');
get_footer();

View File

@ -1,4 +1,6 @@
<div id="mep_add_calender_button" class='mep-add-calender'><i class="fa fa-calendar"></i><?php esc_html_e(mep_get_label($pid,'mep_calender_btn_text','Add Calendar'),'mage-eventpress'); ?></div>
<div id="mep_add_calender_button" class='mep-add-calender'>
<i class="fa fa-calendar"></i><?php echo esc_html(mep_get_label($pid,'mep_calender_btn_text',esc_html__('Add Calendar','mage-eventpress'))); ?>
</div>
<ul id="mep_add_calender_links">
<li><a href="https://calendar.google.com/calendar/r/eventedit?text=<?php echo esc_html($event->post_title); ?>&dates=<?php echo esc_html(mep_calender_date($event_start)); ?>/<?php echo esc_html(mep_calender_date($event_end)); ?>&details=<?php echo esc_html(substr(mage_array_strip($event->post_content),0,1000)); ?>&location=<?php echo esc_html($location); ?>&sf=true" rel="noopener noreferrer" target='_blank' class='mep-add-calender' rel="nofollow"><?php esc_html_e('Google','mage-eventpress'); ?></a></li>
<li><a href="https://calendar.yahoo.com/?v=60&view=d&type=20&title=<?php echo esc_html($event->post_title); ?>&st=<?php echo esc_html(mep_calender_date($event_start)); ?>&et=<?php echo esc_html(mep_calender_date($event_end)); ?>&desc=<?php echo esc_html(substr(mage_array_strip($event->post_content),0,1000)); ?>&in_loc=<?php echo esc_html($location); ?>&uid=" rel="noopener noreferrer" target='_blank' class='mep-add-calender' rel="nofollow"><?php esc_html_e('Yahoo','mage-eventpress'); ?></a></li>

View File

@ -1,5 +1,5 @@
<div class="mep-event-meta">
<span class='mep-share-btn-title'> <?php esc_html_e(mep_get_label($post_id, 'mep_share_text', "Share This $event_label:"), 'mage-eventpress'); ?></span>
<span class='mep-share-btn-title'> <?php echo esc_html(mep_get_label($post_id, 'mep_share_text', esc_html__('Share This','mage-eventpress').' '.$event_label.':')); ?></span>
<ul class='mep-social-share'>
<?php do_action('mep_before_social_share_list',get_the_id()); ?>
<li> <a data-toggle="tooltip" title="" class="facebook" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>','Facebook','width=600,height=300,left='+(screen.availWidth/2-300)+',top='+(screen.availHeight/2-150)+''); return false;" href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>" data-original-title="Share on Facebook"><i class="fab fa-facebook-f"></i></a></li>

View File

@ -3,7 +3,7 @@
* Plugin Name: Event Manager for WooCommerce
* Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 3.5.3
* Version: 3.5.4
* Author: MagePeople Team
* Author URI: http://www.mage-people.com/
* Text Domain: mage-eventpress