just function update

This commit is contained in:
magepeopleteam 2020-11-17 12:15:34 +00:00
parent ed9f53a5c5
commit 859c77840d
6 changed files with 26 additions and 76 deletions

View File

@ -331,7 +331,10 @@ h3.mep_list_date {font-size: 16px; font-style: italic;font-weight: bold;color: #
.mep-list-footer .mep-more-date-lists li i {
display: inline-block;
padding: 6px 5px 5px 6px;
}
/********Category filter***********/
.mep_cat-details div.mep_event_list_item{}

View File

@ -2552,7 +2552,13 @@ add_action('mep_event_list_loop_footer','mep_event_recurring_date_list_in_event_
if (!function_exists('mep_event_recurring_date_list_in_event_list_loop')) {
function mep_event_recurring_date_list_in_event_list_loop($event_id){
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$more_date = get_post_meta($event_id,'mep_event_more_date',true);
$_more_dates = get_post_meta($event_id,'mep_event_more_date',true);
// $_more_date = array_key_exists('mep_event_more_date', $event_meta) ? unserialize($event_meta['mep_event_more_date'][0]) : array();
$more_date = apply_filters('mep_event_date_more_date_array_event_list',$_more_dates,$event_id);
$start_datetime = get_post_meta($event_id,'event_start_datetime',true);
$start_date = get_post_meta($event_id,'event_start_date',true);
$end_date = get_post_meta($event_id,'event_end_date',true);
@ -2573,6 +2579,7 @@ function mep_event_recurring_date_list_in_event_list_loop($event_id){
<?php
}
if($recurring == 'yes'){
foreach ($more_date as $_more_date) {
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
@ -2584,6 +2591,9 @@ function mep_event_recurring_date_list_in_event_list_loop($event_id){
<?php
}
}
}elseif($recurring == 'everyday'){
do_action('mep_event_everyday_date_list_display',$event_id);
}
echo '</ul>';
?>
<?php if($show_multidate == 'yes'){ ?><span id="show_event_schdule<?php echo $event_id; ?>" class='mep_more_date_btn mep-tem3-title-sec'><?php echo mep_get_option('mep_event_view_more_date_btn_text', 'label_setting_sec', __('View More Date', 'mage-eventpress')); //_e('View More Date','mage-eventpress'); ?></span><?php } ?>

View File

@ -90,8 +90,9 @@ if (!function_exists('mep_date_in_default_theme')) {
$recurring = get_post_meta($event_id, 'mep_enable_recurring', true) ? get_post_meta($event_id, 'mep_enable_recurring', true) : 'no';
$mep_show_upcoming_event = get_post_meta($event_id, 'mep_show_upcoming_event', true) ? get_post_meta($event_id, 'mep_show_upcoming_event', true) : 'no';
$cn = 1;
$more_date = array_key_exists('mep_event_more_date', $event_meta) ? unserialize($event_meta['mep_event_more_date'][0]) : array();
require(mep_template_file_path('single/date_list_title.php'));
$_more_date = array_key_exists('mep_event_more_date', $event_meta) ? unserialize($event_meta['mep_event_more_date'][0]) : array();
$more_date = apply_filters('mep_event_date_more_date_array',$_more_date,$event_id);
require(mep_template_file_path('single/date_list_title.php'));
if (sizeof($more_date) > 2) {
echo '<ul id="mep_event_date_sch">';
} else {
@ -120,7 +121,9 @@ if (!function_exists('mep_date_in_default_theme')) {
}
}
}
} else {
}elseif ($recurring == 'everyday') {
do_action('mep_event_everyday_date_list_display',$event_id);
}else {
if (is_array($more_date) && sizeof($more_date) > 0) {
require(mep_template_file_path('single/date_list.php'));
foreach ($more_date as $_more_date) {
@ -146,7 +149,7 @@ if (!function_exists('mep_date_in_default_theme')) {
add_action('mep_event_date_only', 'mep_ev_date');
if (!function_exists('mep_ev_date')) {
function mep_ev_date()
function mep_ev_date($event_id)
{
global $event_meta;
$start_datetime = $event_meta['event_start_datetime'][0];
@ -186,7 +189,7 @@ if (!function_exists('mep_ev_date')) {
}
} else {
?>
<p><?php echo get_mep_datetime($start_datetime, 'date-text'); ?></p>
<p><?php echo apply_filters('mep_display_date_only',get_mep_datetime($start_datetime, 'date-text'),$event_id); ?></p>
<?php
}
}

View File

@ -232,8 +232,6 @@ Display Event Speaker List Any Post or Page by using the below Shortcode.. examp
= Some Others Very Nice Addon Support Available =
👉[Recurring Event Addon](https://mage-people.com/product/recurring-events-addon-for-event-manager/)👈
👉[Event QR Code Addon](https://mage-people.com/product/woocommerce-event-qr-code-addon/)👈
👉[Event Calendar Addon](https://mage-people.com/product/woocommerce-event-calendar-addon/) 👈
@ -248,23 +246,6 @@ Display Event Speaker List Any Post or Page by using the below Shortcode.. examp
👉[Event Duplicator Addon](https://mage-people.com/product/woocommerce-event-duplicator-addon/) 👈
👉[Related Event Addon](https://mage-people.com/product/related-events-addon-for-event-manager/)👈
👉[Event Membership Pricing Addon](https://mage-people.com/product/membership-pricing-for-event-manager-plugin/)👈
👉[Event Max-Min Quantity Limiting Addon](https://mage-people.com/product/event-max-min-quantity-limiting-addon-for-woocommerce-event-manager/)👈
👉[Event Global Qty Addon](https://mage-people.com/product/global-common-qty-addon-for-event-manager/)👈
👉[Event Review And Rating Addon](https://mage-people.com/product/review-and-rating-addon-for-event-manager/)👈
👉[Event Seat Plan Addon](https://mage-people.com/product/seat-plan-addon-for-event-manager/)👈
👉[Frontend Event Submit Addon](https://mage-people.com/product/event-frontend-submit-addon-for-event-manager/)👈
### Note:
@ -616,51 +597,4 @@ Calendar issue fixed
Decimal Amount calculation issue fixed in cart
Google Schema text warning issue fixed
20 July 2020*
= 3.3.3 =
* Update Release:
Code Optimized & Improved
Bug Fixed
14 Sept 2020*
= 3.3.4 =
* Update Release:
Conflict issue fixed with bus plugin
Tax Pricing issue fixed
Code Optimized & Improved
Bug Fixed
20 Sept 2020*
= 3.3.5 =
* Update Release:
Tax Pricing issue fixed
CSS DEsign issue fixed
Duplicate booking issue fixed
New Hooks added
Code Optimized & Improved
Bug Fixed
26 Oct 2020*
= 3.3.6 =
* Update Release:
Quick Update for Book Now Button Issue
Added Settings to Disbale/Enable Book Now Button
Event List Column 1 issue fixed
Event List Thumbnail Feature Added
28 Oct 2020*
= 3.3.8 =
* Update Release:
PHP Errors issue fixed
WP Editor added into Event Confirmation Text
Hook Added
05 Nov 2020*
20 July 2020*

View File

@ -31,7 +31,7 @@ $speaker_status = mep_get_option('mep_enable_speaker_list', 'general
<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'); ?>
<?php do_action('mep_event_date_only',get_the_id()); ?>
</div>
</div>
<?php }

View File

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