version 4.1.1 released
This commit is contained in:
parent
733ea4b4cd
commit
8f1e5b09c6
|
@ -1225,6 +1225,12 @@ h3.mep_virtual_sec_title {
|
||||||
border-bottom: 1px solid #DDD;
|
border-bottom: 1px solid #DDD;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#epanel-mainmenu a {
|
||||||
|
background: #7e3bd0;
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************** Welcome page ************************************************/
|
/******************************************************************** Welcome page ************************************************/
|
||||||
@media only screen and (min-width: 10px) {
|
@media only screen and (min-width: 10px) {
|
||||||
div.mpwem_welcome_page table tbody th{text-align: left;vertical-align: top;}
|
div.mpwem_welcome_page table tbody th{text-align: left;vertical-align: top;}
|
||||||
|
|
|
@ -2324,7 +2324,7 @@ div.mep-default-feature-content p {
|
||||||
font-size: 14px !important;
|
font-size: 14px !important;
|
||||||
}
|
}
|
||||||
.mep_event_list .owl-dots button.active {
|
.mep_event_list .owl-dots button.active {
|
||||||
background: #FF5959 !important;
|
background: #FF5959;
|
||||||
}
|
}
|
||||||
.mep_event_list .owl-dots button {
|
.mep_event_list .owl-dots button {
|
||||||
width: 15px;
|
width: 15px;
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -55,6 +55,7 @@
|
||||||
wp_enqueue_style('mp_jquery_ui', MPWEM_PLUGIN_URL . '/assets/helper/jquery-ui.min.css', array(), '1.13.2');
|
wp_enqueue_style('mp_jquery_ui', MPWEM_PLUGIN_URL . '/assets/helper/jquery-ui.min.css', array(), '1.13.2');
|
||||||
$fontAwesome = MP_Global_Function::get_settings('general_setting_sec', 'mep_load_fontawesome_from_theme', 'no');
|
$fontAwesome = MP_Global_Function::get_settings('general_setting_sec', 'mep_load_fontawesome_from_theme', 'no');
|
||||||
if ($fontAwesome == 'no') {
|
if ($fontAwesome == 'no') {
|
||||||
|
wp_enqueue_style('mp_font_awesome-430', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css', array(), '4.3.0');
|
||||||
wp_enqueue_style('mp_font_awesome', '//cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/all.min.css', array(), '5.15.4');
|
wp_enqueue_style('mp_font_awesome', '//cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/all.min.css', array(), '5.15.4');
|
||||||
}
|
}
|
||||||
$flatIcon = MP_Global_Function::get_settings('general_setting_sec', 'mep_load_flaticon_from_theme', 'no');
|
$flatIcon = MP_Global_Function::get_settings('general_setting_sec', 'mep_load_flaticon_from_theme', 'no');
|
||||||
|
@ -118,7 +119,7 @@
|
||||||
//wp_enqueue_script('mptbm_registration', MPWEM_PLUGIN_URL . '/assets/frontend/mptbm_registration.js', array('jquery'), time(), true);
|
//wp_enqueue_script('mptbm_registration', MPWEM_PLUGIN_URL . '/assets/frontend/mptbm_registration.js', array('jquery'), time(), true);
|
||||||
//wp_enqueue_style('mptbm_registration', MPWEM_PLUGIN_URL . '/assets/frontend/mptbm_registration.css', array(), time());
|
//wp_enqueue_style('mptbm_registration', MPWEM_PLUGIN_URL . '/assets/frontend/mptbm_registration.css', array(), time());
|
||||||
//timeline
|
//timeline
|
||||||
wp_enqueue_style('mep-event-timeline-min-style', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.css', array('mep-event-style'));
|
wp_enqueue_style('mep-event-timeline-min-style', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.css', array(''));
|
||||||
wp_enqueue_script('mep-timeline-min', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.js', array('jquery'), 1, true);
|
wp_enqueue_script('mep-timeline-min', MPWEM_PLUGIN_URL . '/assets/helper/timeline/timeline.min.js', array('jquery'), 1, true);
|
||||||
//calender
|
//calender
|
||||||
wp_enqueue_style('mep-calendar-min-style', MPWEM_PLUGIN_URL . '/assets/helper/calender/calendar.min.css', array());
|
wp_enqueue_style('mep-calendar-min-style', MPWEM_PLUGIN_URL . '/assets/helper/calender/calendar.min.css', array());
|
||||||
|
|
|
@ -41,13 +41,6 @@ function mep_get_page_by_slug( $page_slug, $output = OBJECT, $post_type = 'page'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function mep_add_event_into_feed_request($qv) {
|
function mep_add_event_into_feed_request($qv) {
|
||||||
if (isset($qv['feed']) && !isset($qv['post_type']))
|
if (isset($qv['feed']) && !isset($qv['post_type']))
|
||||||
$qv['post_type'] = array('mep_events');
|
$qv['post_type'] = array('mep_events');
|
||||||
|
@ -1021,6 +1014,9 @@ if (!function_exists('mep_attendee_status_update')) {
|
||||||
if (get_post_type($event_id) == 'mep_events') {
|
if (get_post_type($event_id) == 'mep_events') {
|
||||||
$event_ticket_info_arr = wc_get_order_item_meta($item_id,'_event_ticket_info',true);
|
$event_ticket_info_arr = wc_get_order_item_meta($item_id,'_event_ticket_info',true);
|
||||||
|
|
||||||
|
$org = get_the_terms($event_id, 'mep_org');
|
||||||
|
$term_id = $org[0]->term_id;
|
||||||
|
$org_email = get_term_meta( $term_id, 'org_email', true ) ? get_term_meta( $term_id, 'org_email', true ) : '';
|
||||||
|
|
||||||
if ($order->has_status('processing')) {
|
if ($order->has_status('processing')) {
|
||||||
|
|
||||||
|
@ -1032,6 +1028,10 @@ if (!function_exists('mep_attendee_status_update')) {
|
||||||
do_action('mep_wc_order_status_change', $order_status, $event_id, $order_id);
|
do_action('mep_wc_order_status_change', $order_status, $event_id, $order_id);
|
||||||
if (in_array('processing', $email_send_status)) {
|
if (in_array('processing', $email_send_status)) {
|
||||||
mep_event_confirmation_email_sent($event_id, $email, $order_id);
|
mep_event_confirmation_email_sent($event_id, $email, $order_id);
|
||||||
|
|
||||||
|
if(!empty($org_email)){
|
||||||
|
// mep_event_confirmation_email_sent($event_id, $org_email, $order_id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1057,6 +1057,12 @@ if (!function_exists('mep_attendee_status_update')) {
|
||||||
do_action('mep_wc_order_status_change', $order_status, $event_id, $order_id);
|
do_action('mep_wc_order_status_change', $order_status, $event_id, $order_id);
|
||||||
if (in_array('completed', $email_send_status)) {
|
if (in_array('completed', $email_send_status)) {
|
||||||
mep_event_confirmation_email_sent($event_id, $email, $order_id);
|
mep_event_confirmation_email_sent($event_id, $email, $order_id);
|
||||||
|
|
||||||
|
if(!empty($org_email)){
|
||||||
|
mep_event_confirmation_email_sent($event_id, $org_email, $order_id);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($order->has_status('cancelled')) {
|
if ($order->has_status('cancelled')) {
|
||||||
|
@ -1336,7 +1342,8 @@ if (!function_exists('mep_custom_event_column')) {
|
||||||
} else {
|
} else {
|
||||||
$event_expire_on_old = mep_get_option('mep_event_expire_on_datetimes', 'general_setting_sec', 'event_start_datetime');
|
$event_expire_on_old = mep_get_option('mep_event_expire_on_datetimes', 'general_setting_sec', 'event_start_datetime');
|
||||||
$event_expire_on = $event_expire_on_old == 'event_end_datetime' ? 'event_expire_datetime' : $event_expire_on_old;
|
$event_expire_on = $event_expire_on_old == 'event_end_datetime' ? 'event_expire_datetime' : $event_expire_on_old;
|
||||||
$event_date = $values[$event_expire_on][0];
|
// $event_date = $values[$event_expire_on][0];
|
||||||
|
$event_date = !empty(get_post_meta($post_id,$event_expire_on,true)) ? get_post_meta($post_id,$event_expire_on,true) : '';
|
||||||
}
|
}
|
||||||
echo mep_get_event_status($event_date);
|
echo mep_get_event_status($event_date);
|
||||||
break;
|
break;
|
||||||
|
@ -1505,10 +1512,23 @@ if (!function_exists('mep_add_to_google_calender_link')) {
|
||||||
function mep_add_to_google_calender_link($pid) {
|
function mep_add_to_google_calender_link($pid) {
|
||||||
$event = get_post($pid);
|
$event = get_post($pid);
|
||||||
$event_meta = get_post_custom($pid);
|
$event_meta = get_post_custom($pid);
|
||||||
$event_start = $event_meta['event_start_date'][0] . ' ' . $event_meta['event_start_time'][0];
|
|
||||||
$event_end = $event_meta['event_end_date'][0] . ' ' . $event_meta['event_end_time'][0];
|
|
||||||
|
|
||||||
$location = $event_meta['mep_location_venue'][0] . " " . $event_meta['mep_street'][0] . " " . $event_meta['mep_city'][0] . " " . $event_meta['mep_state'][0] . " " . $event_meta['mep_postcode'][0] . " " . $event_meta['mep_country'][0];
|
$start_date = !empty(get_post_meta($pid,'event_start_date',true)) ? get_post_meta($pid,'event_start_date',true) : "";
|
||||||
|
$start_time = !empty(get_post_meta($pid,'event_start_time',true)) ? get_post_meta($pid,'event_start_time',true) : "";
|
||||||
|
|
||||||
|
$end_date = !empty(get_post_meta($pid,'event_end_date',true)) ? get_post_meta($pid,'event_end_date',true) : "";
|
||||||
|
$end_time = !empty(get_post_meta($pid,'event_end_time',true)) ? get_post_meta($pid,'event_end_time',true) : "";
|
||||||
|
|
||||||
|
$venue = !empty(get_post_meta($pid,'mep_location_venue',true)) ? get_post_meta($pid,'mep_location_venue',true) : "";
|
||||||
|
$street = !empty(get_post_meta($pid,'mep_street',true)) ? get_post_meta($pid,'mep_street',true) : "";
|
||||||
|
$city = !empty(get_post_meta($pid,'mep_city',true)) ? get_post_meta($pid,'mep_city',true) : "";
|
||||||
|
$state = !empty(get_post_meta($pid,'mep_state',true)) ? get_post_meta($pid,'mep_state',true) : "";
|
||||||
|
$postcode = !empty(get_post_meta($pid,'mep_postcode',true)) ? get_post_meta($pid,'mep_postcode',true) : "";
|
||||||
|
$country = !empty(get_post_meta($pid,'mep_country',true)) ? get_post_meta($pid,'mep_country',true) : "";
|
||||||
|
|
||||||
|
$event_start = $start_date . ' ' . $start_time;
|
||||||
|
$event_end = $end_date . ' ' . $end_time;
|
||||||
|
$location = $venue . " " . $street . " " . $city . " " . $state . " " . $postcode . " " . $country;
|
||||||
ob_start();
|
ob_start();
|
||||||
require(mep_template_file_path('single/add_calendar.php'));
|
require(mep_template_file_path('single/add_calendar.php'));
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -32,6 +32,13 @@ function mep_org_tax_location_fileds($taxonomy)
|
||||||
<input type="text" name="org_postcode" id='org_postcode' class="postform">
|
<input type="text" name="org_postcode" id='org_postcode' class="postform">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-field term-group">
|
||||||
|
<label for="org_email"><?php _e('Email:', 'mage-eventpress'); ?></label>
|
||||||
|
<input type="text" name="org_email" id='org_email' class="postform">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="form-field term-group">
|
<div class="form-field term-group">
|
||||||
<label for="org_country"><?php _e('Country:', 'mage-eventpress'); ?></label>
|
<label for="org_country"><?php _e('Country:', 'mage-eventpress'); ?></label>
|
||||||
<input type="text" name="org_country" id='org_country' class="postform">
|
<input type="text" name="org_country" id='org_country' class="postform">
|
||||||
|
@ -195,6 +202,14 @@ function mep_save_feature_meta($term_id, $tt_id)
|
||||||
$longitude = sanitize_text_field($_POST['longitude']);
|
$longitude = sanitize_text_field($_POST['longitude']);
|
||||||
add_term_meta($term_id, 'longitude', $longitude);
|
add_term_meta($term_id, 'longitude', $longitude);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (isset($_POST['org_email'])) {
|
||||||
|
$org_email = sanitize_text_field($_POST['org_email']);
|
||||||
|
add_term_meta($term_id, 'org_email', $org_email);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -235,12 +250,26 @@ function mep_edit_feature_group_field($term, $taxonomy)
|
||||||
<input type="text" name="org_postcode" id='org_postcode' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_postcode', true); ?>'>
|
<input type="text" name="org_postcode" id='org_postcode' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_postcode', true); ?>'>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr class="form-field term-group-wrap">
|
||||||
|
<th scope="row"><label for="org_email"><?php _e('Email:', 'mage-eventpress'); ?></label></th>
|
||||||
|
<td>
|
||||||
|
<input type="text" name="org_email" id='org_email' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_email', true); ?>'>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr class="form-field term-group-wrap">
|
<tr class="form-field term-group-wrap">
|
||||||
<th scope="row"><label for="org_country"><?php _e('Country:', 'mage-eventpress'); ?></label></th>
|
<th scope="row"><label for="org_country"><?php _e('Country:', 'mage-eventpress'); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" name="org_country" id='org_country' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_country', true); ?>'>
|
<input type="text" name="org_country" id='org_country' class="postform" value='<?php echo get_term_meta($term->term_id, 'org_country', true); ?>'>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr class="form-field term-group-wrap">
|
<tr class="form-field term-group-wrap">
|
||||||
<th scope="row"><label for="org_country"><?php _e('Map:', 'mage-eventpress'); ?></label></th>
|
<th scope="row"><label for="org_country"><?php _e('Map:', 'mage-eventpress'); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
|
@ -418,4 +447,14 @@ function mep_update_feature_meta($term_id, $tt_id)
|
||||||
$longitude = sanitize_text_field($_POST['longitude']);
|
$longitude = sanitize_text_field($_POST['longitude']);
|
||||||
update_term_meta($term_id, 'longitude', $longitude);
|
update_term_meta($term_id, 'longitude', $longitude);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (isset($_POST['org_email'])) {
|
||||||
|
$longitude = sanitize_text_field($_POST['org_email']);
|
||||||
|
update_term_meta($term_id, 'org_email', $longitude);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -6,7 +6,10 @@ if (!defined('ABSPATH')) {
|
||||||
add_action('wp_head', 'mep_user_custom_styles', 10, 999);
|
add_action('wp_head', 'mep_user_custom_styles', 10, 999);
|
||||||
function mep_user_custom_styles()
|
function mep_user_custom_styles()
|
||||||
{
|
{
|
||||||
|
// mep_base_text_color
|
||||||
$base_color = mep_get_option('mep_base_color', 'style_setting_sec', '#ffbe30');
|
$base_color = mep_get_option('mep_base_color', 'style_setting_sec', '#ffbe30');
|
||||||
|
$base_text_color = mep_get_option('mep_base_text_color', 'style_setting_sec', '#ffffff');
|
||||||
|
|
||||||
$label_bg_color = mep_get_option('mep_title_bg_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');
|
$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_bg_color = mep_get_option('mep_cart_btn_bg_color', 'style_setting_sec', '#ffbe30');
|
||||||
|
@ -14,8 +17,10 @@ function mep_user_custom_styles()
|
||||||
|
|
||||||
$calender_btn_bg_color = mep_get_option('mep_calender_btn_bg_color', 'style_setting_sec', '#ffbe30');
|
$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');
|
$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_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');
|
$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_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_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_icons_bg_color = mep_get_option('mep_royal_icons_bg_color', 'style_setting_sec', '');
|
||||||
|
@ -24,6 +29,7 @@ function mep_user_custom_styles()
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
|
.mep-event-faq-part .ex-sec-title.faq-title-section{background: <?php echo esc_attr($faq_label_bg_color); ?>;color: <?php echo $faq_label_text_color; ?>;}
|
||||||
.pagination_area button[class*="defaultButton_xs"],
|
.pagination_area button[class*="defaultButton_xs"],
|
||||||
.list_with_filter_section [class*="defaultButton"],
|
.list_with_filter_section [class*="defaultButton"],
|
||||||
div.item_hover_effect a{
|
div.item_hover_effect a{
|
||||||
|
@ -35,8 +41,9 @@ function mep_user_custom_styles()
|
||||||
ul.mp_event_more_date_list li:hover{
|
ul.mp_event_more_date_list li:hover{
|
||||||
background-color:<?php echo esc_attr($base_color); ?>;
|
background-color:<?php echo esc_attr($base_color); ?>;
|
||||||
}
|
}
|
||||||
.mep-default-sidrbar-events-schedule ul li i, .mep-ev-start-date, h3.mep_list_date i, .df-ico i, .mep-default-sidrbar-address ul li i, .mep-default-sidrbar-social ul li a, button.mep-cat-control, .pagination-sec a {
|
.mep-default-sidrbar-events-schedule ul li i, .mep-ev-start-date, h3.mep_list_date i, .df-ico i, .mep-default-sidrbar-address ul li i, .mep-default-sidrbar-social ul li a, button.mep-cat-control, .pagination-sec a, .mep-tem3-title-sec.mep_single_date_btn {
|
||||||
background: <?php echo esc_attr($base_color); ?>;
|
background: <?php echo esc_attr($base_color); ?>;
|
||||||
|
color: <?php echo esc_attr($base_text_color); ?>
|
||||||
}
|
}
|
||||||
.mep-default-sidrbar-meta .fa-list-alt,.mep-list-footer ul li i {
|
.mep-default-sidrbar-meta .fa-list-alt,.mep-list-footer ul li i {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
@ -80,7 +87,7 @@ function mep_user_custom_styles()
|
||||||
background: <?php echo esc_attr($label_bg_color); ?>;
|
background: <?php echo esc_attr($label_bg_color); ?>;
|
||||||
color: <?php echo esc_attr($label_text_color); ?>;
|
color: <?php echo esc_attr($label_text_color); ?>;
|
||||||
}
|
}
|
||||||
|
.mpwemasp_ticket_area .mep_everyday_date_secs{ background: <?php echo esc_attr($label_bg_color); ?>; color: <?php echo esc_attr($label_text_color); ?>; }
|
||||||
/*FAQ Sec Style*/
|
/*FAQ Sec Style*/
|
||||||
.mep-default-feature-faq-sec h4, .tmep-emplate-3-faq-sec .mep-event-faq-part h4 {
|
.mep-default-feature-faq-sec h4, .tmep-emplate-3-faq-sec .mep-event-faq-part h4 {
|
||||||
background: <?php echo esc_attr($faq_label_bg_color); ?>;
|
background: <?php echo esc_attr($faq_label_bg_color); ?>;
|
||||||
|
@ -112,7 +119,8 @@ function mep_user_custom_styles()
|
||||||
}
|
}
|
||||||
#mep_add_calender_button,
|
#mep_add_calender_button,
|
||||||
ul#mep_add_calender_links li a{
|
ul#mep_add_calender_links li a{
|
||||||
background: <?php echo esc_attr($base_color); ?>;
|
background: <?php echo esc_attr($calender_btn_bg_color); ?>;
|
||||||
|
color: <?php echo esc_attr($calender_btn_txt_color); ?> !important;
|
||||||
}
|
}
|
||||||
/**/
|
/**/
|
||||||
.mep_list_event_details p.read-more a{
|
.mep_list_event_details p.read-more a{
|
||||||
|
|
|
@ -32,7 +32,7 @@ if (!function_exists('mep_ev_org_name')) {
|
||||||
$names[] = $value->name;
|
$names[] = $value->name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo esc_html(join($names,', '));
|
echo esc_html(implode(', ',$names));
|
||||||
$content = ob_get_clean();
|
$content = ob_get_clean();
|
||||||
echo apply_filters('mage_event_single_org_name', $content, $post->ID);
|
echo apply_filters('mage_event_single_org_name', $content, $post->ID);
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,12 +73,14 @@ if (post_password_required()) {
|
||||||
if (!class_exists('WC_Advanced_Country_Restrictions_Dist')) {
|
if (!class_exists('WC_Advanced_Country_Restrictions_Dist')) {
|
||||||
if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
|
if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
|
||||||
if ( ! class_exists( 'Xoo_Wl_Core' ) ) {
|
if ( ! class_exists( 'Xoo_Wl_Core' ) ) {
|
||||||
|
if ( ! class_exists( 'Ultimate_Woocommerce_Gift_Card_Public' ) ) {
|
||||||
do_action('woocommerce_before_single_product');
|
do_action('woocommerce_before_single_product');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$theme_name = "/themes/$_current_template";
|
$theme_name = "/themes/$_current_template";
|
||||||
require_once(mep_template_file_path($theme_name));
|
require_once(mep_template_file_path($theme_name));
|
||||||
if (comments_open() || get_comments_number()) {
|
if (comments_open() || get_comments_number()) {
|
||||||
|
|
|
@ -24,7 +24,7 @@ if (!function_exists('mep_ev_seat')) {
|
||||||
$upcoming_date = !empty(mep_get_event_upcoming_date($event_id)) ? mep_get_event_upcoming_date($event_id) : '';
|
$upcoming_date = !empty(mep_get_event_upcoming_date($event_id)) ? mep_get_event_upcoming_date($event_id) : '';
|
||||||
$total_seat = apply_filters('mep_event_total_seat_counts', mep_event_total_seat($event_id, 'total'), $event_id);
|
$total_seat = apply_filters('mep_event_total_seat_counts', mep_event_total_seat($event_id, 'total'), $event_id);
|
||||||
$total_resv = apply_filters('mep_event_total_resv_seat_count', mep_event_total_seat($event_id, 'resv'), $event_id);
|
$total_resv = apply_filters('mep_event_total_resv_seat_count', mep_event_total_seat($event_id, 'resv'), $event_id);
|
||||||
// $total_sold = mep_ticket_type_sold($event_id);
|
$total_sold = mep_ticket_type_sold($event_id);
|
||||||
$total_sold = mep_get_event_total_seat_left($event_id, $upcoming_date);
|
$total_sold = mep_get_event_total_seat_left($event_id, $upcoming_date);
|
||||||
$total_left = (int) $total_seat - ((int) $total_sold + (int) $total_resv);
|
$total_left = (int) $total_seat - ((int) $total_sold + (int) $total_resv);
|
||||||
// $total_seat = apply_filters('mep_event_total_seat_count', $_total_left, $event_id,'',$event_date);
|
// $total_seat = apply_filters('mep_event_total_seat_count', $_total_left, $event_id,'',$event_date);
|
||||||
|
|
14
readme.txt
14
readme.txt
|
@ -2,11 +2,11 @@
|
||||||
Contributors: magepeopleteam, aamahin
|
Contributors: magepeopleteam, aamahin
|
||||||
Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events
|
Tags: event, woocomerce events manager, events manager, Wordpress Events plugin, Events plugin, wp events
|
||||||
Requires at least: 5.3
|
Requires at least: 5.3
|
||||||
Stable tag: 4.1.0
|
Stable tag: 4.1.1
|
||||||
Version: 4.1.0
|
Version: 4.1.1
|
||||||
Tested up to: 6.4
|
Tested up to: 6.4
|
||||||
WC requires at least: 3.0
|
WC requires at least: 3.0
|
||||||
WC tested up to: 8.3
|
WC tested up to: 8.4
|
||||||
Requires PHP: 7.0
|
Requires PHP: 7.0
|
||||||
License: GPLv2 or later
|
License: GPLv2 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
|
@ -431,6 +431,14 @@ A. You can create a support ticket here with problem details with possible scree
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 4.1.1 =
|
||||||
|
* Custom Styling issue has been fixed
|
||||||
|
* Event Org Elementor Widget issue fixed
|
||||||
|
* Event List pagination issue fixed
|
||||||
|
* Organizer Email Option added.
|
||||||
|
27 Dec 2023*
|
||||||
|
|
||||||
|
|
||||||
= 4.1.0 =
|
= 4.1.0 =
|
||||||
* Styling issue has been fixed
|
* Styling issue has been fixed
|
||||||
* Event Ticket Expire before minutes not working for seat plan issue has been fixed
|
* Event Ticket Expire before minutes not working for seat plan issue has been fixed
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="mep-event-faq-part">
|
<div class="mep-event-faq-part">
|
||||||
<h3 class="ex-sec-title"><?php esc_html_e('Event FAQs', 'mage-eventpress'); ?></h3>
|
<h3 class="ex-sec-title faq-title-section"><?php esc_html_e('Event FAQs', 'mage-eventpress'); ?></h3>
|
||||||
<?php foreach ($mep_event_faq as $field): ?>
|
<?php foreach ($mep_event_faq as $field): ?>
|
||||||
<div class="mep-event-faq-set">
|
<div class="mep-event-faq-set">
|
||||||
<a>
|
<a>
|
||||||
|
|
|
@ -49,10 +49,12 @@
|
||||||
}
|
}
|
||||||
$ticket_name = mep_remove_apostopie($field['option_name_t']);
|
$ticket_name = mep_remove_apostopie($field['option_name_t']);
|
||||||
do_action('mep_after_ticket_type_qty', $post_id, $ticket_name, $field, $default_quantity,$start_date);
|
do_action('mep_after_ticket_type_qty', $post_id, $ticket_name, $field, $default_quantity,$start_date);
|
||||||
do_action('mepgq_max_qty_hook',$post_id);
|
do_action('mepgq_max_qty_hook',$post_id, max($total_ticket_left, 0));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?php if ($mep_available_seat == 'on') { ?>
|
<?php if ($mep_available_seat == 'on') { ?>
|
||||||
<div class="xtra-item-left"><?php echo esc_html(max($total_ticket_left, 0)); ?>
|
<div class="xtra-item-left"><?php echo esc_html(max($total_ticket_left, 0)); ?>
|
||||||
|
|
||||||
<?php echo mep_get_option('mep_left_text', 'label_setting_sec', __('Left:', 'mage-eventpress')); ?>
|
<?php echo mep_get_option('mep_left_text', 'label_setting_sec', __('Left:', 'mage-eventpress')); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin
|
* Plugin Name: Event Manager and Tickets Selling Plugin for WooCommerce - WpEvently - WordPress Plugin
|
||||||
* Plugin URI: http://mage-people.com
|
* Plugin URI: http://mage-people.com
|
||||||
* Description: A Complete Event Solution for WordPress by MagePeople..
|
* Description: A Complete Event Solution for WordPress by MagePeople..
|
||||||
* Version: 4.1.0
|
* Version: 4.1.1
|
||||||
* Author: MagePeople Team
|
* Author: MagePeople Team
|
||||||
* Author URI: http://www.mage-people.com/
|
* Author URI: http://www.mage-people.com/
|
||||||
* Text Domain: mage-eventpress
|
* Text Domain: mage-eventpress
|
||||||
|
@ -12,7 +12,6 @@
|
||||||
if (!defined('ABSPATH')) {
|
if (!defined('ABSPATH')) {
|
||||||
die;
|
die;
|
||||||
} // Cannot access pages directly.
|
} // Cannot access pages directly.
|
||||||
|
|
||||||
// Checking woo
|
// Checking woo
|
||||||
include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
include_once(ABSPATH . 'wp-admin/includes/plugin.php');
|
||||||
if (!defined('MPWEM_PLUGIN_DIR')) {
|
if (!defined('MPWEM_PLUGIN_DIR')) {
|
||||||
|
|
Loading…
Reference in New Issue