version 2.0.3 release changes are in log file
This commit is contained in:
parent
b49590d3e3
commit
6d85324187
|
@ -36,12 +36,16 @@ class MAGE_Events_Setting_Controls {
|
|||
$sections = array(
|
||||
array(
|
||||
'id' => 'general_setting_sec',
|
||||
'title' => __( 'General Settings', 'vaincode' )
|
||||
'title' => __( 'General Settings', 'mep' )
|
||||
),
|
||||
array(
|
||||
'id' => 'email_setting_sec',
|
||||
'title' => __( 'Email Settings', 'vaincode' )
|
||||
)
|
||||
'title' => __( 'Email Settings', 'mep' )
|
||||
),
|
||||
array(
|
||||
'id' => 'label_setting_sec',
|
||||
'title' => __( 'Label Settings', 'mep' )
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
@ -58,7 +62,7 @@ class MAGE_Events_Setting_Controls {
|
|||
$settings_fields = array(
|
||||
'general_setting_sec' => array(
|
||||
|
||||
array(
|
||||
array(
|
||||
'name' => 'google-map-api',
|
||||
'label' => __( 'Google Map API Key', 'mep' ),
|
||||
'desc' => __( 'Enter Your Google Map API key. <a href=https://developers.google.com/maps/documentation/javascript/get-api-key target=_blank>Get KEY</a>', 'mep' ),
|
||||
|
@ -112,8 +116,50 @@ class MAGE_Events_Setting_Controls {
|
|||
),
|
||||
),
|
||||
|
||||
'label_setting_sec' => array(
|
||||
|
||||
|
||||
array(
|
||||
'name' => 'mep_event_ticket_type_text',
|
||||
'label' => __( 'Ticket Type Table Label', 'mep' ),
|
||||
'desc' => __( 'Enter the text which you want to display as ticket type table in event details page.', 'mep' ),
|
||||
'type' => 'text',
|
||||
'default' => 'Ticket Type:'
|
||||
),
|
||||
array(
|
||||
'name' => 'mep_event_extra_service_text',
|
||||
'label' => __( 'Extra Service Table Label', 'mep' ),
|
||||
'desc' => __( 'Enter the text which you want to display as extra service table in event details page.', 'mep' ),
|
||||
'type' => 'text',
|
||||
'default' => 'Extra Service:'
|
||||
),
|
||||
array(
|
||||
'name' => 'mep_cart_btn_text',
|
||||
'label' => __( 'Cart Button Label', 'mep' ),
|
||||
'desc' => __( 'Enter the text which you want to display in Cart button in event details page.', 'mep' ),
|
||||
'type' => 'text',
|
||||
'default' => 'Register This Event'
|
||||
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'mep_calender_btn_text',
|
||||
'label' => __( 'Add Calender Button Label', 'mep' ),
|
||||
'desc' => __( 'Enter the text which you want to display in Add you calender in event details page.', 'mep' ),
|
||||
'type' => 'text',
|
||||
'default' => 'ADD TO YOUR CALENDAR'
|
||||
),
|
||||
|
||||
array(
|
||||
'name' => 'mep_share_text',
|
||||
'label' => __( 'Social Share Label', 'mep' ),
|
||||
'desc' => __( 'Enter the text which you want to display as share button title in event details page.', 'mep' ),
|
||||
'type' => 'text',
|
||||
'default' => 'Share This Event'
|
||||
),
|
||||
|
||||
),
|
||||
|
||||
|
||||
|
||||
);
|
||||
|
|
|
@ -143,4 +143,7 @@ You can display the event list on any page by using the ShortCode. Just use this
|
|||
*Update Release, Event Extra option feature added. So now you can add as many option with a event with price - 27 February 2018*
|
||||
|
||||
= 2.0 =
|
||||
*Update Release, A Huge update released, added so many features. - 02 July 2018*
|
||||
*Update Release, A Huge update released, added so many features. - 02 July 2018*
|
||||
|
||||
= 2.0.3 =
|
||||
*Update Release, Responsive issue fixed, added label setting panel so now easily all lable changable from dashboard. 03 July 2018*
|
|
@ -8,7 +8,7 @@ $post_id = $post->ID;
|
|||
// $event_meta = get_post_meta($post_id, 'mep_event_meta',true);
|
||||
$event_meta = get_post_custom($post_id);
|
||||
$event_expire_date = $event_meta['mep_event_start_date'][0];
|
||||
$event_sqi = $event_meta['mep_sqi'][0];
|
||||
$event_sqi = $event_meta['mep_sqi'][0];
|
||||
|
||||
$mep_full_name = strip_tags($event_meta['mep_full_name'][0]);
|
||||
$mep_reg_email = strip_tags($event_meta['mep_reg_email'][0]);
|
||||
|
@ -108,7 +108,7 @@ if(!$mep_event_ticket_type){
|
|||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<button type="submit" name="add-to-cart" value="<?php echo esc_attr($post_id); ?>" class="single_add_to_cart_button button alt btn-mep-event-cart"><?php _e('Register This Event'); ?> </button>
|
||||
<button type="submit" name="add-to-cart" value="<?php echo esc_attr($post_id); ?>" class="single_add_to_cart_button button alt btn-mep-event-cart"><?php echo mep_get_label($post_id,'mep_cart_btn_text','Register This Event'); ?> </button>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -9,7 +9,7 @@ $count=1;
|
|||
|
||||
$mep_events_extra_prices = get_post_meta($post->ID, 'mep_events_extra_prices', true);
|
||||
if ( $mep_events_extra_prices ){
|
||||
_e("<h3 class='ex-sec-title'>Extra Service:</h3>");
|
||||
_e("<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_extra_service_text','Extra Service:')."</h3>");
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -34,16 +34,16 @@ foreach ($mep_events_extra_prices as $field) {
|
|||
|
||||
<?php if($qty_type=='dropdown'){ ?>
|
||||
<select name="option_qty[]" id="eventpxtp_<?php //echo $count; ?>" class='extra-qty-box'>
|
||||
<?php for ($i = 0; $i <= $ext_left; $i++) { ?>
|
||||
<option value="<?php echo $i; ?>"><?php echo $i; ?> <?php echo $field['option_name']; ?></option>
|
||||
<?php } ?>
|
||||
<?php for ($i = 0; $i <= $ext_left; $i++) { ?>
|
||||
<option value="<?php echo $i; ?>"><?php echo $i; ?> <?php echo $field['option_name']; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php }else{ ?>
|
||||
<?php }else{ ?>
|
||||
<input id="eventpx" <?php //if($ext_left<=0){ echo "disabled"; } ?> size="4" pattern="[0-9]*" inputmode="numeric" type="number" class='extra-qty-box' name='option_qty[]' data-price='<?php echo $field['option_price']; ?>' value='0' min="0" max="<?php echo $ext_left; ?>">
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ $count=1;
|
|||
$mep_event_ticket_type = get_post_meta($post->ID, 'mep_event_ticket_type', true);
|
||||
if($mep_event_ticket_type){
|
||||
?>
|
||||
<?php _e("<h3 class='ex-sec-title'>Ticket Type:</h3>"); ?>
|
||||
<?php _e("<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type:')."</h3>"); ?>
|
||||
<table>
|
||||
<?php
|
||||
$count =1;
|
||||
|
|
|
@ -3,9 +3,11 @@ add_action('mep_event_social_share','mep_ev_social_share');
|
|||
|
||||
|
||||
function mep_ev_social_share(){
|
||||
global $post;
|
||||
$post_id = $post->ID;
|
||||
?>
|
||||
<div class="mep-event-meta">
|
||||
<?php _e('Share This Event:','mep'); ?> <?php mep_social_share(); ?>
|
||||
<?php echo mep_get_label($post_id,'mep_share_text','Share This Event:'); ?> <?php mep_social_share(); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
|
@ -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: 2.0.2
|
||||
* Version: 2.0.3
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
*/
|
||||
|
@ -772,7 +772,7 @@ action=TEMPLATE
|
|||
&trp=false
|
||||
&sprop=
|
||||
&sprop=name:"
|
||||
target="_blank" class='mep-add-calender' rel="nofollow"> <i class="fa fa-calendar"></i> Add To Your Calendar</a>
|
||||
target="_blank" class='mep-add-calender' rel="nofollow"> <i class="fa fa-calendar"></i> <?php echo mep_get_label($pid,'mep_calender_btn_text','Add To Your Calendar'); ?></a>
|
||||
<?php
|
||||
$content = ob_get_clean();
|
||||
echo $content;
|
||||
|
@ -1026,4 +1026,8 @@ global $post;
|
|||
$gn_price = $cur.$mep_event_ticket_type[0]['option_price_t'];
|
||||
}
|
||||
return $gn_price;
|
||||
}
|
||||
|
||||
function mep_get_label($pid,$label_id,$default_text){
|
||||
return mep_get_option( $label_id, 'label_setting_sec', $default_text);
|
||||
}
|
Loading…
Reference in New Issue