v 3.7.7 released

This commit is contained in:
magepeopleteam 2022-11-02 03:06:52 +00:00
parent 3b437c8451
commit b4f5a0ddf5
5 changed files with 37 additions and 18 deletions

View File

@ -2553,7 +2553,6 @@ span.mep-datepicker-input-box {
.mep_everyday_date_secs {
padding: 5px 10px !important;
}
.mep_everyday_date_secs ul {
overflow: hidden;
}
@ -3405,9 +3404,9 @@ Vanilla theme css by ariful
font-size: 14px;
}
.vanilla_theme tr:nth-child(odd) {
background-color: #F8F2F2;
}
/* .vanilla_theme tr:nth-child(odd) {
background-color: #F8F2F2;
} */
.vanilla_theme tr:nth-child(even) {
background-color: #F2F2F2;

View File

@ -304,6 +304,17 @@ if (!class_exists('MAGE_Events_Setting_Controls')) :
'no' => 'No'
)
),
array(
'name' => 'mep_show_sold_out_ribbon_list_page',
'label' => __('Show Sold out Ribon?', 'mage-eventpress'),
'desc' => __('If your want to show Sold Out Ribbon on the event list when fully booked, you can select this as Yes.', 'mage-eventpress'),
'type' => 'select',
'default' => 'no',
'options' => array(
'yes' => 'Yes',
'no' => 'No'
)
),
)
),
'event_list_setting_sec' => apply_filters('mep_settings_event_list_arr', array(

View File

@ -508,7 +508,7 @@ class MP_Event_All_Info_In_One
<input type="text" class="mp_formControl" name="option_name_t[]" placeholder="Ex: Adult" value="<?php if ($field['option_name_t'] != '') { echo esc_attr($field['option_name_t']); } ?>" />
</td>
<td>
<input type="text" class="mp_formControl" name="option_details_t[]" placeholder="" value="<?php if ($field['option_details_t'] != '') { echo esc_attr($field['option_details_t']); } ?>" />
<input type="text" class="mp_formControl" name="option_details_t[]" placeholder="" value="<?php if (array_key_exists('option_details_t', $field) && $field['option_price_t'] != '') { echo esc_attr($field['option_details_t']); } ?>" />
</td>
<td>
<input type="number" size="4" pattern="[0-9]*" step="0.001" class="mp_formControl" name="option_price_t[]" placeholder="Ex: 10" value="<?php if (array_key_exists('option_price_t', $field) && $field['option_price_t'] != '') {

View File

@ -4,11 +4,12 @@ $month = mep_get_event_upcomming_date($event_id, 'month
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$mep_hide_event_hover_btn = mep_get_option('mep_hide_event_hover_btn', 'event_list_setting_sec', 'no');
$mep_hide_event_hover_btn_text = mep_get_option('mep_hide_event_hover_btn_text', 'general_setting_sec', 'Book Now');
$taxonomy_category = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_cat');
$taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org');
$date = get_post_meta($event_id, 'event_upcoming_datetime', true);
$event_location_icon = mep_get_option('mep_event_location_icon', 'icon_setting_sec', 'fas fa-map-marker-alt');
$event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_setting_sec', 'far fa-list-alt');
$sold_out_ribbon = mep_get_option('mep_show_sold_out_ribbon_list_page', 'general_setting_sec', 'no');
$taxonomy_category = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_cat');
$taxonomy_organizer = MPWEM_Helper::all_taxonomy_as_text($event_id, 'mep_org');
$date = get_post_meta($event_id, 'event_upcoming_datetime', true);
$event_location_icon = mep_get_option('mep_event_location_icon', 'icon_setting_sec', 'fas fa-map-marker-alt');
$event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_setting_sec', 'far fa-list-alt');
?>
<div class='filter_item mep-event-list-loop <?php echo esc_attr($columnNumber); echo ' '.$class_name; ?> mep_event_<?php echo esc_attr($style); ?>_item mix <?php echo esc_attr($org_class) . ' ' . esc_attr($cat_class); ?>' data-title="<?php echo get_the_title($event_id); ?>" data-city-name="<?php echo get_post_meta($event_id, 'mep_city', true); ?>" data-category="<?php echo esc_attr($taxonomy_category); ?>" data-organizer="<?php echo esc_attr($taxonomy_organizer); ?>" data-date="<?php echo esc_attr(date('m/d/Y',strtotime($date))); ?>" style="width:calc(<?php echo esc_attr($width); ?>% - 14px);">
@ -17,31 +18,39 @@ $event_organizer_icon = mep_get_option('mep_event_organizer_icon', 'icon_s
<a href="<?php echo esc_url(get_the_permalink()); ?>">
<div class="mep_bg_thumb" data-bg-image="<?php mep_get_list_thumbnail_src($event_id, 'large'); ?>"></div>
</a>
<div class="mep-ev-start-date">
<div class="mep-day"><?php echo esc_html(apply_filters('mep_event_list_only_day_number', $day, $event_id)); ?></div>
<div class="mep-month"><?php echo esc_html(apply_filters('mep_event_list_only_month_name', $month, $event_id)); ?></div>
</div>
<div class="mep-ev-start-date">
<div class="mep-day"><?php echo esc_html(apply_filters('mep_event_list_only_day_number', $day, $event_id)); ?></div>
<div class="mep-month"><?php echo esc_html(apply_filters('mep_event_list_only_month_name', $month, $event_id)); ?></div>
</div>
<?php
if (is_array($event_multidate) && sizeof($event_multidate) > 0 && $recurring == 'no') { ?>
<div class='mep-multidate-ribbon mep-tem3-title-sec'>
<span><?php echo mep_get_option('mep_event_multidate_ribon_text', 'label_setting_sec', esc_html__('Multi Date Event', 'mage-eventpress')); ?></span>
</div>
<?php } elseif ($recurring != 'no') {
?>
<div class='mep-multidate-ribbon mep-tem3-title-sec'>
<span><?php echo mep_get_option('mep_event_recurring_ribon_text', 'label_setting_sec', esc_html__('Recurring Event', 'mage-eventpress')); ?></span>
</div>
<?php
}
if ($event_type == 'online') { ?>
<div class='mep-eventtype-ribbon mep-tem3-title-sec'>
<span><?php echo mep_get_option('mep_event_virtual_label', 'label_setting_sec') ? mep_get_option('mep_event_virtual_label', 'label_setting_sec') : esc_html__('Virtual Event', 'mage-eventpress'); ?></span>
</div>
<?php } if($total_left <= 0){ ?>
<div class="mep-eventtype-ribbon mep-tem3-title-sec sold-out-ribbon"><?php echo mep_get_option('mep_event_sold_out_label', 'label_setting_sec') ? mep_get_option('mep_event_sold_out_label', 'label_setting_sec') : esc_html__('Sold Out', 'mage-eventpress'); ?></div>
<?php } ?>
<?php } if($sold_out_ribbon == 'yes' && $total_left <= 0){ ?>
<div class="mep-eventtype-ribbon mep-tem3-title-sec sold-out-ribbon"><?php echo mep_get_option('mep_event_sold_out_label', 'label_setting_sec') ? mep_get_option('mep_event_sold_out_label', 'label_setting_sec') : esc_html__('Sold Out', 'mage-eventpress'); ?></div>
<?php } ?>
</div>
<div class="mep_list_event_details">
<a href="<?php the_permalink(); ?>">

View File

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