v 3.4.8
This commit is contained in:
parent
8688b18c91
commit
e65e5db95f
|
@ -1032,4 +1032,5 @@ div.item_hover_effect a:hover{color:#346B80;background-color:#fff;border:1px sol
|
||||||
div.three_column,
|
div.three_column,
|
||||||
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,18 +112,19 @@ 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'>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if($recurring == 'everyday' && $time_status == 'no'){
|
if($recurring == 'everyday' && $time_status == 'no'){
|
||||||
|
|
||||||
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0 && sizeof($user_info) == 0) {
|
if (is_array($ticket_type_arr) && sizeof($ticket_type_arr) > 0 && sizeof($user_info) == 0) {
|
||||||
|
|
||||||
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') {
|
||||||
|
|
|
@ -3681,4 +3681,21 @@ function mep_default_sidebar_reg() {
|
||||||
'after_title' => '</h3>',
|
'after_title' => '</h3>',
|
||||||
) );
|
) );
|
||||||
}
|
}
|
||||||
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'];
|
||||||
|
|
11
readme.txt
11
readme.txt
|
@ -11,7 +11,7 @@ WC tested up to: 5.0
|
||||||
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
|
||||||
|
|
||||||
WooCommerce Event Manager is a Event Plugin for WordPress which is based on WooCommerce.
|
WooCommerce Event Manager is a Event Plugin for WordPress which is based on WooCommerce.
|
||||||
|
|
||||||
== Description ==
|
== Description ==
|
||||||
|
@ -718,4 +718,11 @@ Hook added
|
||||||
= 3.4.6=
|
= 3.4.6=
|
||||||
* 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