v 3.4.8
This commit is contained in:
parent
8688b18c91
commit
e65e5db95f
|
@ -1033,3 +1033,4 @@ div.item_hover_effect a:hover{color:#346B80;background-color:#fff;border:1px sol
|
||||||
div.four_column{width:100%;margin: 0 0 15px 0;}
|
div.four_column{width:100%;margin: 0 0 15px 0;}
|
||||||
div.column_style{min-width: calc(100% - 14px) !important;}
|
div.column_style{min-width: calc(100% - 14px) !important;}
|
||||||
}
|
}
|
||||||
|
.mep-default-sidrbar-meta i{margin: 0 7px 0 0;}
|
|
@ -112,6 +112,7 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
|
||||||
|
|
||||||
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
$recurring = get_post_meta($eid, 'mep_enable_recurring', true) ? get_post_meta($eid, 'mep_enable_recurring', true) : 'no';
|
||||||
$time_status = get_post_meta($eid, 'mep_disable_ticket_time', true) ? get_post_meta($eid, 'mep_disable_ticket_time', true) : 'no';
|
$time_status = get_post_meta($eid, 'mep_disable_ticket_time', true) ? get_post_meta($eid, 'mep_disable_ticket_time', true) : 'no';
|
||||||
|
$start_time = get_post_meta($eid,'event_start_time',true);
|
||||||
echo "<ul class='event-custom-price'>";
|
echo "<ul class='event-custom-price'>";
|
||||||
|
|
||||||
|
|
||||||
|
@ -123,7 +124,7 @@ function mep_display_custom_fields_text_cart($item_data, $cart_item)
|
||||||
foreach ($ticket_type_arr as $_event_recurring_date) {
|
foreach ($ticket_type_arr as $_event_recurring_date) {
|
||||||
if($hide_date_status == 'no'){
|
if($hide_date_status == 'no'){
|
||||||
?>
|
?>
|
||||||
<li><?php _e("$event_label Date", 'mage-eventpress'); ?>: <?php echo get_mep_datetime($_event_recurring_date['event_date'],'date-text'); ?></li>
|
<li><?php _e("$event_label Date", 'mage-eventpress'); ?>: <?php echo get_mep_datetime($_event_recurring_date['event_date'].' '.$start_time,'date-time-text'); ?></li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -259,6 +260,7 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
||||||
{
|
{
|
||||||
|
|
||||||
$eid = array_key_exists('event_id', $values) ? $values['event_id'] : 0; //$values['event_id'];
|
$eid = array_key_exists('event_id', $values) ? $values['event_id'] : 0; //$values['event_id'];
|
||||||
|
$start_time = get_post_meta($eid,'event_start_time',true);
|
||||||
$location_text = mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress')) ? mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress')) : 'Location';
|
$location_text = mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress')) ? mep_get_option('mep_location_text', 'label_setting_sec', __('Location', 'mage-eventpress')) : 'Location';
|
||||||
$date_text = mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) ? mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) : 'Date';
|
$date_text = mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) ? mep_get_option('mep_event_date_text', 'label_setting_sec', __('Date', 'mage-eventpress')) : 'Date';
|
||||||
if (get_post_type($eid) == 'mep_events') {
|
if (get_post_type($eid) == 'mep_events') {
|
||||||
|
@ -277,7 +279,7 @@ function mep_add_custom_fields_text_to_order_items($item, $cart_item_key, $value
|
||||||
if($recurring == 'everyday' && $time_status == 'no'){
|
if($recurring == 'everyday' && $time_status == 'no'){
|
||||||
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {
|
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0) {
|
||||||
foreach ($ticket_type_arr as $_event_recurring_date) {
|
foreach ($ticket_type_arr as $_event_recurring_date) {
|
||||||
$item->add_meta_data($date_text, get_mep_datetime($_event_recurring_date['event_date'], 'date-text'));
|
$item->add_meta_data($date_text, get_mep_datetime($_event_recurring_date['event_date'].' '.$start_time, 'date-time-text'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}elseif ($recurring == 'yes') {
|
}elseif ($recurring == 'yes') {
|
||||||
|
|
|
@ -3682,3 +3682,20 @@ function mep_default_sidebar_reg() {
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
add_action( 'widgets_init', 'mep_default_sidebar_reg' );
|
add_action( 'widgets_init', 'mep_default_sidebar_reg' );
|
||||||
|
|
||||||
|
//********************Share button*************//
|
||||||
|
add_action('mep_after_social_share_list','mep_custom_share_btn',10,1);
|
||||||
|
function mep_custom_share_btn($event_id){
|
||||||
|
?>
|
||||||
|
<li>
|
||||||
|
<a href="https://api.whatsapp.com/send?text=<?php echo get_the_title($event_id).' '; ?><?php echo get_the_permalink($event_id); ?>" target="_blank">
|
||||||
|
<i class="fab fa-whatsapp"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="mailto:?subject=I wanted you to see this site&body=<?php echo get_the_title($event_id).' '; ?><?php echo get_the_permalink($event_id); ?>" title="Share by Email">
|
||||||
|
<i class="fa fa-envelope"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<?php
|
||||||
|
}
|
|
@ -256,6 +256,7 @@ function mep_expire_event_list($atts, $content = null)
|
||||||
"timeline-mode" => "vertical",
|
"timeline-mode" => "vertical",
|
||||||
'sort' => 'ASC'
|
'sort' => 'ASC'
|
||||||
);
|
);
|
||||||
|
|
||||||
$params = shortcode_atts($defaults, $atts);
|
$params = shortcode_atts($defaults, $atts);
|
||||||
$cat = $params['cat'];
|
$cat = $params['cat'];
|
||||||
$org = $params['org'];
|
$org = $params['org'];
|
||||||
|
|
|
@ -719,3 +719,10 @@ Hook added
|
||||||
* Update Release:
|
* Update Release:
|
||||||
Total Price 0 issue fixed
|
Total Price 0 issue fixed
|
||||||
02 March 2021*
|
02 March 2021*
|
||||||
|
|
||||||
|
= 3.4.8=
|
||||||
|
* Update Release:
|
||||||
|
New Social Icon added
|
||||||
|
Bug Fixed
|
||||||
|
Hook Added
|
||||||
|
15 March 2021*
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: Woocommerce Events Manager
|
* Plugin Name: Woocommerce Events Manager
|
||||||
* 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: 3.4.7
|
* Version: 3.4.8
|
||||||
* 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
|
||||||
|
|
Loading…
Reference in New Issue