translate support added
This commit is contained in:
parent
b0f745f709
commit
caf033e1ba
|
@ -5,33 +5,33 @@ if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
|
|||
function mep_cpt() {
|
||||
|
||||
$labels = array(
|
||||
'name' => _x( 'Events', 'mep' ),
|
||||
'singular_name' => _x( 'Events', 'mep' ),
|
||||
'menu_name' => __( 'Events', 'mep' ),
|
||||
'name_admin_bar' => __( 'Events', 'mep' ),
|
||||
'archives' => __( 'Events List', 'mep' ),
|
||||
'attributes' => __( 'Events List', 'mep' ),
|
||||
'parent_item_colon' => __( 'Event Item:', 'mep' ),
|
||||
'all_items' => __( 'All Events', 'mep' ),
|
||||
'add_new_item' => __( 'Add New Event', 'mep' ),
|
||||
'add_new' => __( 'Add New Event', 'mep' ),
|
||||
'new_item' => __( 'New Event', 'mep' ),
|
||||
'edit_item' => __( 'Edit Event', 'mep' ),
|
||||
'update_item' => __( 'Update Event', 'mep' ),
|
||||
'view_item' => __( 'View Event', 'mep' ),
|
||||
'view_items' => __( 'View Event', 'mep' ),
|
||||
'search_items' => __( 'Search Event', 'mep' ),
|
||||
'not_found' => __( 'Event Not found', 'mep' ),
|
||||
'not_found_in_trash' => __( 'Event Not found in Trash', 'mep' ),
|
||||
'featured_image' => __( 'Event Feature Image', 'mep' ),
|
||||
'set_featured_image' => __( 'Set Event featured image', 'mep' ),
|
||||
'remove_featured_image' => __( 'Remove Event featured image', 'mep' ),
|
||||
'use_featured_image' => __( 'Use as Event featured image', 'mep' ),
|
||||
'insert_into_item' => __( 'Insert into Event', 'mep' ),
|
||||
'uploaded_to_this_item' => __( 'Uploaded to this Event', 'mep' ),
|
||||
'items_list' => __( 'Event list', 'mep' ),
|
||||
'items_list_navigation' => __( 'Event list navigation', 'mep' ),
|
||||
'filter_items_list' => __( 'Filter Event list', 'mep' ),
|
||||
'name' => _x( 'Events', 'mepevent' ),
|
||||
'singular_name' => _x( 'Events', 'mepevent' ),
|
||||
'menu_name' => __( 'Events', 'mepevent' ),
|
||||
'name_admin_bar' => __( 'Events', 'mepevent' ),
|
||||
'archives' => __( 'Events List', 'mepevent' ),
|
||||
'attributes' => __( 'Events List', 'mepevent' ),
|
||||
'parent_item_colon' => __( 'Event Item:', 'mepevent' ),
|
||||
'all_items' => __( 'All Events', 'mepevent' ),
|
||||
'add_new_item' => __( 'Add New Event', 'mepevent' ),
|
||||
'add_new' => __( 'Add New Event', 'mepevent' ),
|
||||
'new_item' => __( 'New Event', 'mepevent' ),
|
||||
'edit_item' => __( 'Edit Event', 'mepevent' ),
|
||||
'update_item' => __( 'Update Event', 'mepevent' ),
|
||||
'view_item' => __( 'View Event', 'mepevent' ),
|
||||
'view_items' => __( 'View Event', 'mepevent' ),
|
||||
'search_items' => __( 'Search Event', 'mepevent' ),
|
||||
'not_found' => __( 'Event Not found', 'mepevent' ),
|
||||
'not_found_in_trash' => __( 'Event Not found in Trash', 'mepevent' ),
|
||||
'featured_image' => __( 'Event Feature Image', 'mepevent' ),
|
||||
'set_featured_image' => __( 'Set Event featured image', 'mepevent' ),
|
||||
'remove_featured_image' => __( 'Remove Event featured image', 'mepevent' ),
|
||||
'use_featured_image' => __( 'Use as Event featured image', 'mepevent' ),
|
||||
'insert_into_item' => __( 'Insert into Event', 'mepevent' ),
|
||||
'uploaded_to_this_item' => __( 'Uploaded to this Event', 'mepevent' ),
|
||||
'items_list' => __( 'Event list', 'mepevent' ),
|
||||
'items_list_navigation' => __( 'Event list navigation', 'mepevent' ),
|
||||
'filter_items_list' => __( 'Filter Event list', 'mepevent' ),
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ function export_btn() {
|
|||
<input type="hidden" name='meta_value' value="<?php echo $_GET['meta_value']; ?>"/>
|
||||
<?php } ?>
|
||||
<input style="display:none" type="radio" name='format' id="formatCSV" value="csv" checked="checked"/>
|
||||
<input type="submit" name='export' id="csvExport" value="Export to CSV"/>
|
||||
<input type="submit" name='export' id="csvExport" value="<?php _e('Export to CSV','mepevent'); ?>"/>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ function mep_event_change_reg_status_cb($post){
|
|||
$values = get_post_custom( $post->ID );
|
||||
?>
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_20988"> Registration On/Off:
|
||||
<label for="mep_ev_20988"> <?php _e('Registration On/Off:','mepevent'); ?>
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="mep_ev_20988" name='mep_reg_status' <?php if(array_key_exists('mep_reg_status', $values)){ if($values['mep_reg_status'][0]=='on'){ echo 'checked'; } }else{ echo 'Checked'; } ?>/>
|
||||
<span class="slider round"></span>
|
||||
|
@ -66,7 +66,7 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
|
|||
?>
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_2"> Location/Venue: </label>
|
||||
<label for="mep_ev_2"> <?php _e('Location/Venue:','mepevent'); ?> </label>
|
||||
<span><input id='mep_ev_2' type="text" name='mep_location_venue' value='<?php if(array_key_exists('mep_location_venue', $values)){ echo $values['mep_location_venue'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
@ -74,35 +74,35 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
|
|||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_3"> Street: </label>
|
||||
<label for="mep_ev_3"> <?php _e('Street:','mepevent'); ?> </label>
|
||||
<span><input id='mep_ev_3' type="text" name='mep_street' value='<?php if(array_key_exists('mep_street', $values)){ echo $values['mep_street'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_4"> City: </label>
|
||||
<label for="mep_ev_4"> <?php _e('City:','mepevent'); ?> </label>
|
||||
<span><input id='mep_ev_4' type="text" name='mep_city' value='<?php if(array_key_exists('mep_city', $values)){ echo $values['mep_city'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_5"> State: </label>
|
||||
<label for="mep_ev_5"> <?php _e('State:','mepevent'); ?> </label>
|
||||
<span><input id='mep_ev_5' type="text" name='mep_state' value='<?php if(array_key_exists('mep_state', $values)){ echo $values['mep_state'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_6"> Postcode: </label>
|
||||
<label for="mep_ev_6"> <?php _e('Postcode:','mepevent'); ?> </label>
|
||||
<span><input id='mep_ev_6' type="text" name='mep_postcode' value='<?php if(array_key_exists('mep_postcode', $values)){ echo $values['mep_postcode'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_7"> Country: </label>
|
||||
<label for="mep_ev_7"> <?php _e('Country:','mepevent'); ?> </label>
|
||||
<span><input id='mep_ev_7' type="text" name='mep_country' value='<?php if(array_key_exists('mep_country', $values)){ echo $values['mep_country'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
@ -110,7 +110,7 @@ $user_api = mep_get_option( 'google-map-api', 'general_setting_sec', '');
|
|||
if($user_api){
|
||||
?>
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_989"> Show Google Map: </label>
|
||||
<label for="mep_ev_989"> <?php _e('Show Google Map:','mepevent'); ?> </label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_989' type="checkbox" name='mep_sgm' value='1' <?php if(array_key_exists('mep_sgm', $values)){ $mep_sgm = $values['mep_sgm'][0]; if($mep_sgm==1){ echo 'checked'; } } ?> > Yes</span>
|
||||
</div>
|
||||
<div class='sec'>
|
||||
|
@ -242,11 +242,11 @@ $values = get_post_custom( $post->ID );
|
|||
<table id="" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">Price Label</th>
|
||||
<th width="20%">Price</th>
|
||||
<th width="20%">Quantity</th>
|
||||
<th width="20%">Input Type</th>
|
||||
<th width="20%">Show Quantity Box</th>
|
||||
<th width="20%"><?php _e('Price Label','mepevent'); ?></th>
|
||||
<th width="20%"><?php _e('Price','mepevent'); ?></th>
|
||||
<th width="20%"><?php _e('Quantity','mepevent'); ?></th>
|
||||
<th width="20%"><?php _e('Input Type','mepevent'); ?></th>
|
||||
<th width="20%"><?php _e('Show Quantity Box','mepevent'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -256,10 +256,10 @@ $values = get_post_custom( $post->ID );
|
|||
<td><input id='mep_ev_1' type="number" name='mep_total_seat' value='<?php if(array_key_exists('mep_total_seat', $values)){ echo $values['mep_total_seat'][0]; } ?>'> </td>
|
||||
<td> <?php if(array_key_exists('qty_box_type', $values)){ $qty_typec = $values['qty_box_type'][0]; }else{ $qty_typec=""; } ?>
|
||||
<select name="qty_box_type" id="mep_ev_9800" class=''>
|
||||
<option value="inputbox" <?php if($qty_typec=='inputbox'){ echo "Selected"; } ?>>Input Box</option>
|
||||
<option value="dropdown" <?php if($qty_typec=='dropdown'){ echo "Selected"; } ?>>Dropdown List</option>
|
||||
<option value="inputbox" <?php if($qty_typec=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mepevent'); ?></option>
|
||||
<option value="dropdown" <?php if($qty_typec=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mepevent'); ?></option>
|
||||
</select></td>
|
||||
<td> <span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_sqi' value='1' <?php if(array_key_exists('mep_sqi', $values)){ $sqi = $values['mep_sqi'][0]; }else{ $sqi =0; } if($sqi==1){ echo 'checked'; } ?> > Yes</span></td>
|
||||
<td> <span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_sqi' value='1' <?php if(array_key_exists('mep_sqi', $values)){ $sqi = $values['mep_sqi'][0]; }else{ $sqi =0; } if($sqi==1){ echo 'checked'; } ?> > <?php _e('Yes','mepevent'); ?></span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -323,7 +323,7 @@ function mep_event_faq_meta_box_cb() {
|
|||
<div id='mep_event_faq_r' class="">
|
||||
<input placeholder="FAQ Title" type="text" class="mep-faq-input" value="<?php if($field['mep_faq_title'] != '') echo esc_attr( $field['mep_faq_title'] ); ?>" name="mep_faq_title[]">
|
||||
<textarea placeholder="FAQ Contents" name="mep_faq_content[]" id="" cols="50" rows="4" class="mep-faq-input"><?php if($field['mep_faq_content'] != '') echo esc_attr( $field['mep_faq_content'] ); ?></textarea>
|
||||
<a class="button remove-faq-row" href="#">Remove</a>
|
||||
<a class="button remove-faq-row" href="#"><?php _e('Remove','mepevent'); ?></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -340,7 +340,7 @@ function mep_event_faq_meta_box_cb() {
|
|||
<div id='mep_event_faq_r' class="">
|
||||
<input placeholder="FAQ Title" type="text" class="mep-faq-input" name="mep_faq_title[]">
|
||||
<textarea placeholder="FAQ Contents" name="mep_faq_content[]" id="" cols="50" rows="4" class="mep-faq-input"></textarea>
|
||||
<a class="button remove-faq-row" href="#">Remove</a>
|
||||
<a class="button remove-faq-row" href="#"><?php _e('Remove','mepevent'); ?></a>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
|
@ -348,7 +348,7 @@ function mep_event_faq_meta_box_cb() {
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><a id="add-faq-row" class="button" href="#">Add New F.A.Q</a></p>
|
||||
<p><a id="add-faq-row" class="button" href="#"><?php _e('Add New F.A.Q','mepevent'); ?></a></p>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
@ -434,10 +434,10 @@ function mep_event_extra_price_option() {
|
|||
<table id="repeatable-fieldset-one" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30%">Extra Service Name</th>
|
||||
<th width="30%">Service Price</th>
|
||||
<th width="20%">Available Qty</th>
|
||||
<th width="10%">Qty Box Type</th>
|
||||
<th width="30%"><?php _e('Extra Service Name','mepevent'); ?></th>
|
||||
<th width="30%"><?php _e('Service Price','mepevent'); ?></th>
|
||||
<th width="20%"><?php _e('Available Qty','mepevent'); ?></th>
|
||||
<th width="10%"><?php _e('Qty Box Type','mepevent'); ?></th>
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -458,11 +458,11 @@ function mep_event_extra_price_option() {
|
|||
|
||||
<td align="center">
|
||||
<select name="option_qty_type[]" id="mep_ev_9800kj8" class=''>
|
||||
<option value="inputbox" <?php if($qty_type=='inputbox'){ echo "Selected"; } ?>>Input Box</option>
|
||||
<option value="dropdown" <?php if($qty_type=='dropdown'){ echo "Selected"; } ?>>Dropdown List</option>
|
||||
<option value="inputbox" <?php if($qty_type=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mepevent'); ?></option>
|
||||
<option value="dropdown" <?php if($qty_type=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mepevent'); ?></option>
|
||||
</select>
|
||||
</td>
|
||||
<td><a class="button remove-row" href="#">Remove</a></td>
|
||||
<td><a class="button remove-row" href="#"><?php _e('Remove','mepevent'); ?></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -478,16 +478,16 @@ function mep_event_extra_price_option() {
|
|||
<td><input type="number" class="widefat" name="option_qty[]" value="" /></td>
|
||||
|
||||
<td><select name="option_qty_type[]" id="mep_ev_9800kj8" class=''>
|
||||
<option value="">Please Select Type</option>
|
||||
<option value="inputbox">Input Box</option>
|
||||
<option value="dropdown">Dropdown List</option>
|
||||
<option value=""><?php _e('Please Select Type','mepevent'); ?></option>
|
||||
<option value="inputbox"><?php _e('Input Box','mepevent'); ?></option>
|
||||
<option value="dropdown"><?php _e('Dropdown List','mepevent'); ?></option>
|
||||
</select></td>
|
||||
<td><a class="button remove-row" href="#">Remove</a></td>
|
||||
<td><a class="button remove-row" href="#"><?php _e('Remove','mepevent'); ?></a></td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><a id="add-row" class="button" href="#">Add Extra Price</a></p>
|
||||
<p><a id="add-row" class="button" href="#"><?php _e('Add Extra Price','mepevent'); ?></a></p>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
@ -528,10 +528,10 @@ function mep_event_ticket_type() {
|
|||
<table id="repeatable-fieldset-one-t" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="30%">Ticket Type Name</th>
|
||||
<th width="30%">Ticket Price</th>
|
||||
<th width="20%">Available Qty</th>
|
||||
<th width="10%">Qty Box Type</th>
|
||||
<th width="30%"><?php _e('Ticket Type Name','mepevent'); ?></th>
|
||||
<th width="30%"><?php _e('Ticket Price','mepevent'); ?></th>
|
||||
<th width="20%"><?php _e('Available Qty','mepevent'); ?></th>
|
||||
<th width="10%"><?php _e('Qty Box Type','mepevent'); ?></th>
|
||||
<th width="10%"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -551,11 +551,11 @@ function mep_event_ticket_type() {
|
|||
<td><input type="number" class="widefat" name="option_qty_t[]" value="<?php if ($field['option_qty_t'] != '') echo esc_attr( $field['option_qty_t'] ); else echo ''; ?>" /></td>
|
||||
|
||||
<td><select name="option_qty_t_type[]" id="mep_ev_9800kj8" class=''>
|
||||
<option value="inputbox" <?php if($qty_t_type=='inputbox'){ echo "Selected"; } ?>>Input Box</option>
|
||||
<option value="dropdown" <?php if($qty_t_type=='dropdown'){ echo "Selected"; } ?>>Dropdown List</option>
|
||||
<option value="inputbox" <?php if($qty_t_type=='inputbox'){ echo "Selected"; } ?>><?php _e('Input Box','mepevent'); ?></option>
|
||||
<option value="dropdown" <?php if($qty_t_type=='dropdown'){ echo "Selected"; } ?>><?php _e('Dropdown List','mepevent'); ?></option>
|
||||
</select></td>
|
||||
|
||||
<td><a class="button remove-row-t" href="#">Remove</a></td>
|
||||
<td><a class="button remove-row-t" href="#"><?php _e('Remove','mepevent'); ?></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -569,12 +569,12 @@ function mep_event_ticket_type() {
|
|||
<td><input type="text" class="widefat" name="option_name_t[]" /></td>
|
||||
<td><input type="number" class="widefat" name="option_price_t[]" value="" /></td>
|
||||
<td><input type="number" class="widefat" name="option_qty_t[]" value="" /></td>
|
||||
<td><select name="option_qty_t_type[]" id="mep_ev_9800kj8" class=''><option value="">Please Select Type</option><option value="inputbox">Input Box</option><option value="dropdown">Dropdown List</option></select></td>
|
||||
<td><a class="button remove-row-t" href="#">Remove</a></td>
|
||||
<td><select name="option_qty_t_type[]" id="mep_ev_9800kj8" class=''><option value=""><?php _e('Please Select Type','mepevent'); ?></option><option value="inputbox"><?php _e('Input Box','mepevent'); ?></option><option value="dropdown"><?php _e('Dropdown List','mepevent'); ?></option></select></td>
|
||||
<td><a class="button remove-row-t" href="#"><?php _e('Remove','mepevent'); ?></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><a id="add-row-t" class="button" href="#">Add New Ticket Type</a></p>
|
||||
<p><a id="add-row-t" class="button" href="#"><?php _e('Add New Ticket Type','mepevent'); ?></a></p>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
@ -595,13 +595,13 @@ $values = get_post_custom( $post->ID );
|
|||
?>
|
||||
|
||||
<div class='sec'>
|
||||
<label for="event_start_date"> Start Date & Time: </label>
|
||||
<label for="event_start_date"> <?php _e('Start Date & Time:','mepevent'); ?> </label>
|
||||
<span><input class='event_start' id='event_start_date' type="text" name='mep_event_start_date' value='<?php if(array_key_exists('mep_event_start_date', $values)){ echo $values['mep_event_start_date'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="event_end_date"> End Date & Time: </label>
|
||||
<label for="event_end_date"> <?php _e('End Date & Time:','mepevent'); ?> </label>
|
||||
<span><input class='event_end' id='event_end_date' type="text" name='mep_event_end_date' value='<?php if(array_key_exists('mep_event_end_date', $values)){ echo $values['mep_event_end_date'][0]; } ?>'> </span>
|
||||
</div>
|
||||
|
||||
|
@ -615,7 +615,7 @@ function mep_event_email_meta_box_cb($post){
|
|||
$values = get_post_custom( $post->ID );
|
||||
?>
|
||||
<div class='sec'>
|
||||
<label for="event_start_date"> Confirmation Email Text: </label>
|
||||
<label for="event_start_date"> <?php _e('Confirmation Email Text:','mepevent'); ?> </label>
|
||||
<span><textarea style='border: 1px solid #ddd;width: 100%;min-height: 200px;margin: 10px 0;padding: 5px;' class='' id='' type="text" name='mep_event_cc_email_text'><?php if(array_key_exists('mep_event_cc_email_text', $values)){ echo $values['mep_event_cc_email_text'][0]; } ?></textarea> </span>
|
||||
</div>
|
||||
<?php
|
||||
|
@ -632,31 +632,31 @@ $values = get_post_custom( $post->ID );
|
|||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_98">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_full_name' <?php if(array_key_exists('mep_full_name', $values)){ $sqi = $values['mep_full_name'][0]; }else{$sqi=0; } if($sqi==1){ echo 'checked'; } ?> value='1' /> Full Name </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_98' type="checkbox" name='mep_full_name' <?php if(array_key_exists('mep_full_name', $values)){ $sqi = $values['mep_full_name'][0]; }else{$sqi=0; } if($sqi==1){ echo 'checked'; } ?> value='1' /> <?php _e('Full Name','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_981">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_981' type="checkbox" name='mep_reg_email' <?php if(array_key_exists('mep_reg_email', $values)){ $sqi1 = $values['mep_reg_email'][0]; }else{$sqi1=0;} if($sqi1==1){ echo 'checked'; } ?> value='1' /> Email Address </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_981' type="checkbox" name='mep_reg_email' <?php if(array_key_exists('mep_reg_email', $values)){ $sqi1 = $values['mep_reg_email'][0]; }else{$sqi1=0;} if($sqi1==1){ echo 'checked'; } ?> value='1' /> <?php _e('Email Address','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_982">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_982' type="checkbox" name='mep_reg_phone' <?php if(array_key_exists('mep_reg_phone', $values)){ $sqi2 = $values['mep_reg_phone'][0];}else{$sqi2=0;} if($sqi2==1){ echo 'checked'; } ?> value='1' /> Phone Number </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_982' type="checkbox" name='mep_reg_phone' <?php if(array_key_exists('mep_reg_phone', $values)){ $sqi2 = $values['mep_reg_phone'][0];}else{$sqi2=0;} if($sqi2==1){ echo 'checked'; } ?> value='1' /> <?php _e('Phone Number','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_983">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_983' type="checkbox" name='mep_reg_address' <?php if(array_key_exists('mep_reg_address', $values)){ $sqi3 = $values['mep_reg_address'][0];}else{$sqi3=0;} if($sqi3==1){ echo 'checked'; } ?> value='1' />Address </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_983' type="checkbox" name='mep_reg_address' <?php if(array_key_exists('mep_reg_address', $values)){ $sqi3 = $values['mep_reg_address'][0];}else{$sqi3=0;} if($sqi3==1){ echo 'checked'; } ?> value='1' /><?php _e('Address','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_98309">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_98309' type="checkbox" name='mep_reg_tshirtsize' <?php if(array_key_exists('mep_reg_tshirtsize', $values)){ $sqi312 = $values['mep_reg_tshirtsize'][0]; }else{$sqi312=0;} if($sqi312==1){ echo 'checked'; } ?> value='1' />T-Shirt Size </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_98309' type="checkbox" name='mep_reg_tshirtsize' <?php if(array_key_exists('mep_reg_tshirtsize', $values)){ $sqi312 = $values['mep_reg_tshirtsize'][0]; }else{$sqi312=0;} if($sqi312==1){ echo 'checked'; } ?> value='1' /><?php _e('T-Shirt Size','mepevent'); ?> </span></label>
|
||||
</label>
|
||||
<label for="">
|
||||
Input Tshirts size, separetd by comma (M,L,XL)
|
||||
<?php _e('Input Tshirts size, separetd by comma (M,L,XL)','mepevent'); ?>
|
||||
<?php
|
||||
if(array_key_exists('mep_reg_tshirtsize', $values)){ $tsizes = $values['mep_reg_tshirtsize_list'][0]; }else{$tsizes='';}
|
||||
?>
|
||||
|
@ -668,24 +668,24 @@ if(array_key_exists('mep_reg_tshirtsize', $values)){ $tsizes = $values['mep_reg_
|
|||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_984">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_984' type="checkbox" name='mep_reg_designation' <?php if(array_key_exists('mep_reg_designation', $values)){ $sqi4 = $values['mep_reg_designation'][0]; }else{$sqi4=0;} if($sqi4==1){ echo 'checked'; } ?> value='1' /> Designation </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_984' type="checkbox" name='mep_reg_designation' <?php if(array_key_exists('mep_reg_designation', $values)){ $sqi4 = $values['mep_reg_designation'][0]; }else{$sqi4=0;} if($sqi4==1){ echo 'checked'; } ?> value='1' /> <?php _e('Designation','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_985">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_985' type="checkbox" name='mep_reg_website' <?php if(array_key_exists('mep_reg_website', $values)){ $sqi5 = $values['mep_reg_website'][0]; }else{$sqi5=0;} if($sqi5==1){ echo 'checked'; } ?> value='1' /> Website </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_985' type="checkbox" name='mep_reg_website' <?php if(array_key_exists('mep_reg_website', $values)){ $sqi5 = $values['mep_reg_website'][0]; }else{$sqi5=0;} if($sqi5==1){ echo 'checked'; } ?> value='1' /> <?php _e('Website','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_986">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_986' type="checkbox" name='mep_reg_veg' <?php if(array_key_exists('mep_reg_veg', $values)){ $sqi6 = $values['mep_reg_veg'][0];}else{$sqi6=0; } if($sqi6==1){ echo 'checked'; } ?> value='1' /> Vegetarian </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_986' type="checkbox" name='mep_reg_veg' <?php if(array_key_exists('mep_reg_veg', $values)){ $sqi6 = $values['mep_reg_veg'][0];}else{$sqi6=0; } if($sqi6==1){ echo 'checked'; } ?> value='1' /> <?php _e('Vegetarian','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_987">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_987' type="checkbox" name='mep_reg_company' <?php if(array_key_exists('mep_reg_company', $values)){ $sqi7 = $values['mep_reg_company'][0]; }else{ $sqi7=0; } if($sqi7==1){ echo 'checked'; } ?> value='1' /> Company Name </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_987' type="checkbox" name='mep_reg_company' <?php if(array_key_exists('mep_reg_company', $values)){ $sqi7 = $values['mep_reg_company'][0]; }else{ $sqi7=0; } if($sqi7==1){ echo 'checked'; } ?> value='1' /> <?php _e('Company Name','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
<div class='sec'>
|
||||
<label for="mep_ev_988">
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_988' type="checkbox" name='mep_reg_gender' <?php if(array_key_exists('mep_reg_gender', $values)){ $sqi8 = $values['mep_reg_gender'][0]; }else{$sqi8=0;} if($sqi8==1){ echo 'checked'; } ?> value='1' /> Gender </span></label>
|
||||
<span><input style='text-align: left;width: auto;' id='mep_ev_988' type="checkbox" name='mep_reg_gender' <?php if(array_key_exists('mep_reg_gender', $values)){ $sqi8 = $values['mep_reg_gender'][0]; }else{$sqi8=0;} if($sqi8==1){ echo 'checked'; } ?> value='1' /> <?php _e('Gender','mepevent'); ?> </span></label>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
@ -1025,62 +1025,62 @@ $event_meta = get_post_custom($values['ea_event_id'][0]);
|
|||
|
||||
<div class="mep-attendee-sec-details">
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Event: </span>
|
||||
<span class="ea-label"><?php _e('Event:','mepevent'); ?> </span>
|
||||
<span class="ea-value"><?php echo $values['ea_event_name'][0]; ?> </span>
|
||||
</div>
|
||||
|
||||
<div class='sec'>
|
||||
<span class="ea-label">UserID: </span>
|
||||
<span class="ea-label"><?php _e('UserID:','mepevent'); ?> </span>
|
||||
<span class="ea-value"><?php echo $values['ea_user_id'][0]; ?></span>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if($mep_full_name){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Full Name: </span>
|
||||
<span class="ea-label"><?php _e('Full Name:','mepevent'); ?> </span>
|
||||
<span class="ea-value"><?php echo $values['ea_name'][0]; ?></span>
|
||||
</div>
|
||||
<?php } if($mep_reg_email){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Email: </span>
|
||||
<span class="ea-label"><?php _e('Email:','mepevent'); ?> </span>
|
||||
<span class="ea-value"><?php echo $values['ea_email'][0]; ?></span>
|
||||
</div>
|
||||
<?php } if($mep_reg_phone){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Phone: </span>
|
||||
<span class="ea-label"><?php _e('Phone:','mepevent'); ?> </span>
|
||||
<span class="ea-value"><?php echo $values['ea_phone'][0]; ?></span>
|
||||
</div>
|
||||
<?php } if($mep_reg_address){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Addres: </span>
|
||||
<span class="ea-label"><?php _e('Addres:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_address_1'][0]; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php } if($mep_reg_gender){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Gender: </span>
|
||||
<span class="ea-label"><?php _e('Gender:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_gender'][0]; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php } if($mep_reg_company){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Company: </span>
|
||||
<span class="ea-label"><?php _e('Company:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_company'][0]; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php } if($mep_reg_designation){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Designation: </span>
|
||||
<span class="ea-label"><?php _e('Designation:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_desg'][0]; ?>
|
||||
</span>
|
||||
</div>
|
||||
<?php } if($mep_reg_website){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Website: </span>
|
||||
<span class="ea-label"><?php _e('Website:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_website'][0]; ?>
|
||||
</span>
|
||||
|
@ -1088,7 +1088,7 @@ $event_meta = get_post_custom($values['ea_event_id'][0]);
|
|||
|
||||
<?php } if($mep_reg_veg){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Vegetarian?: </span>
|
||||
<span class="ea-label"><?php _e('Vegetarian?:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_vegetarian'][0]; ?>
|
||||
</span>
|
||||
|
@ -1096,7 +1096,7 @@ $event_meta = get_post_custom($values['ea_event_id'][0]);
|
|||
|
||||
<?php } if($mep_reg_tshirtsize){ ?>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">T-Shirt Size?: </span>
|
||||
<span class="ea-label"><?php _e('T-Shirt Size?:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_tshirtsize'][0]; ?>
|
||||
</span>
|
||||
|
@ -1127,13 +1127,13 @@ $mep_form_builder_data = get_post_meta($values['ea_event_id'][0], 'mep_form_buil
|
|||
|
||||
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Ticket Type: </span>
|
||||
<span class="ea-label"><?php _e('Ticket Type:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_ticket_type'][0]; ?>
|
||||
</span>
|
||||
</div>
|
||||
<div class='sec'>
|
||||
<span class="ea-label">Order ID: </span>
|
||||
<span class="ea-label"><?php _e('Order ID:','mepevent'); ?> </span>
|
||||
<span class="ea-value">
|
||||
<?php echo $values['ea_order_id'][0]; ?>
|
||||
</span>
|
||||
|
@ -1141,7 +1141,7 @@ $mep_form_builder_data = get_post_meta($values['ea_event_id'][0], 'mep_form_buil
|
|||
</div>
|
||||
<div class='sec'>
|
||||
<span>
|
||||
<a href="<?php echo get_site_url(); ?>/wp-admin/post.php?post=<?php echo $values['ea_order_id'][0]; ?>&action=edit" class='button button-primary button-large'>View Order</a>
|
||||
<a href="<?php echo get_site_url(); ?>/wp-admin/post.php?post=<?php echo $values['ea_order_id'][0]; ?>&action=edit" class='button button-primary button-large'><?php _e('View Order','mepevent'); ?></a>
|
||||
</span>
|
||||
</div>
|
||||
<?php
|
||||
|
|
|
@ -94,7 +94,7 @@ $terms = get_terms( array(
|
|||
) );
|
||||
?>
|
||||
<div class="mep-event-cat-controls">
|
||||
<button type="button" class="mep-cat-control" data-filter="all">All</button><?php
|
||||
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
|
||||
foreach ($terms as $_terms) {
|
||||
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ $terms = get_terms( array(
|
|||
) );
|
||||
?>
|
||||
<div class="mep-event-cat-controls">
|
||||
<button type="button" class="mep-cat-control" data-filter="all">All</button><?php
|
||||
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
|
||||
foreach ($terms as $_terms) {
|
||||
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ $author_terms = get_the_terms(get_the_id(), 'mep_org');
|
|||
<div class="mep_list_event_details"><a href="<?php the_permalink(); ?>">
|
||||
<div class="mep-list-header">
|
||||
<h2 class='mep_list_title'><?php the_title(); ?></h2>
|
||||
<h3 class='mep_list_date'> Price Start from: <?php echo mep_event_list_price(get_the_id()); ?><!-- <i class="fa fa-calendar"></i> <?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo $event_meta['mep_event_end_date'][0]; ?> --></h3>
|
||||
<h3 class='mep_list_date'> <?php _e('Price Start from:','mepevent'); ?> <?php echo mep_event_list_price(get_the_id()); ?><!-- <i class="fa fa-calendar"></i> <?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo $event_meta['mep_event_end_date'][0]; ?> --></h3>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
@ -216,21 +216,241 @@ if($style=='list'){
|
|||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-university"></i> </div>
|
||||
<div class="evl-cc">
|
||||
<h5>Organized By:</h5>
|
||||
<h5><?php _e('Organized By:','mepevent'); ?></h5>
|
||||
<h6><?php echo $author_terms[0]->name; ?></h6>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-map-marker"></i> </div>
|
||||
<div class="evl-cc">
|
||||
<h5>Location:</h5>
|
||||
<h5><?php _e('Location:','mepevent'); ?></h5>
|
||||
<h6><?php echo $event_meta['mep_city'][0]; ?></h6>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-calendar"></i> </div>
|
||||
<div class="evl-cc">
|
||||
<h5>Time:</h5>
|
||||
<h5><?php _e('Time:','mepevent'); ?></h5>
|
||||
<h6><?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo date('h:i A', strtotime($event_meta['mep_event_end_date'][0])); ?></h6>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
if($pagination=='yes'){
|
||||
?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12"><?php
|
||||
$pargs = array(
|
||||
"current"=>$paged,
|
||||
"total"=>$loop->max_num_pages
|
||||
);
|
||||
echo "<div class='pagination-sec'>".paginate_links($pargs)."</div>";
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
jQuery(document).ready( function() {
|
||||
var containerEl = document.querySelector('.mep_event_list_sec');
|
||||
var mixer = mixitup(containerEl);
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
$content = ob_get_clean();
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
add_shortcode( 'expire-event-list', 'mep_expire_event_list' );
|
||||
function mep_expire_event_list($atts, $content=null){
|
||||
$defaults = array(
|
||||
"cat" => "0",
|
||||
"org" => "0",
|
||||
"style" => "grid",
|
||||
"cat-filter" => "no",
|
||||
"org-filter" => "no",
|
||||
"show" => "-1",
|
||||
"pagination" => "no",
|
||||
'sort' => 'ASC'
|
||||
);
|
||||
|
||||
$params = shortcode_atts($defaults, $atts);
|
||||
$cat = $params['cat'];
|
||||
$org = $params['org'];
|
||||
$style = $params['style'];
|
||||
$cat_f = $params['cat-filter'];
|
||||
$org_f = $params['org-filter'];
|
||||
$show = $params['show'];
|
||||
$pagination = $params['pagination'];
|
||||
$sort = $params['sort'];
|
||||
ob_start();
|
||||
?>
|
||||
<div class='mep_event_list'>
|
||||
|
||||
|
||||
|
||||
<?php if($cat_f=='yes'){ ?>
|
||||
<div class="mep-events-cats-list">
|
||||
<?php
|
||||
$terms = get_terms( array(
|
||||
'taxonomy' => 'mep_cat'
|
||||
) );
|
||||
?>
|
||||
<div class="mep-event-cat-controls">
|
||||
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
|
||||
foreach ($terms as $_terms) {
|
||||
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } if($org_f=='yes'){ ?>
|
||||
<div class="mep-events-cats-list">
|
||||
<?php
|
||||
$terms = get_terms( array(
|
||||
'taxonomy' => 'mep_org'
|
||||
) );
|
||||
?>
|
||||
<div class="mep-event-cat-controls">
|
||||
<button type="button" class="mep-cat-control" data-filter="all"><?php _e('All','mepevent'); ?></button><?php
|
||||
foreach ($terms as $_terms) {
|
||||
?><button type="button" class="mep-cat-control" data-filter=".<?php echo $_terms->slug; ?>"><?php echo $_terms->name; ?></button><?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="mep_event_list_sec">
|
||||
|
||||
|
||||
|
||||
<?php
|
||||
$paged = get_query_var("paged")?get_query_var("paged"):1;
|
||||
if($cat>0){
|
||||
$args_search_qqq = array (
|
||||
'post_type' => array( 'mep_events' ),
|
||||
'paged' => $paged,
|
||||
'posts_per_page' => $show,
|
||||
'order' => $sort,
|
||||
'orderby' => 'meta_value',
|
||||
'meta_key' => 'mep_event_start_date',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'mep_cat',
|
||||
'field' => 'term_id',
|
||||
'terms' => $cat
|
||||
)
|
||||
)
|
||||
|
||||
);
|
||||
}
|
||||
elseif($org>0){
|
||||
$args_search_qqq = array (
|
||||
'post_type' => array( 'mep_events' ),
|
||||
'posts_per_page' => $show,
|
||||
'paged' => $paged,
|
||||
'order' => $sort,
|
||||
'orderby' => 'meta_value',
|
||||
'meta_key' => 'mep_event_start_date',
|
||||
'tax_query' => array(
|
||||
array(
|
||||
'taxonomy' => 'mep_org',
|
||||
'field' => 'term_id',
|
||||
'terms' => $org
|
||||
)
|
||||
)
|
||||
|
||||
);
|
||||
}
|
||||
else{
|
||||
$args_search_qqq = array (
|
||||
'post_type' => array( 'mep_events' ),
|
||||
'paged' => $paged,
|
||||
'posts_per_page' => $show,
|
||||
'order' => $sort,
|
||||
'orderby' => 'meta_value',
|
||||
'meta_key' => 'mep_event_start_date'
|
||||
|
||||
);
|
||||
}
|
||||
|
||||
$loop = new WP_Query( $args_search_qqq );
|
||||
while ($loop->have_posts()) {
|
||||
$loop->the_post();
|
||||
$event_meta = get_post_custom(get_the_id());
|
||||
$author_terms = get_the_terms(get_the_id(), 'mep_org');
|
||||
$time = strtotime($event_meta['mep_event_start_date'][0]);
|
||||
$newformat = date('Y-m-d H:i:s',$time);
|
||||
|
||||
|
||||
if(time() > strtotime($newformat)){
|
||||
$tt = get_the_terms( get_the_id(), 'mep_cat');
|
||||
$torg = get_the_terms( get_the_id(), 'mep_org');
|
||||
// print_r($tt);
|
||||
|
||||
|
||||
?>
|
||||
<div class='mep_event_<?php echo $style; ?>_item mix <?php echo $tt[0]->slug; ?> <?php echo $torg[0]->slug; ?>'>
|
||||
<div class="mep_list_thumb">
|
||||
<?php the_post_thumbnail('full'); ?>
|
||||
<div class="mep-ev-start-date">
|
||||
<div class="mep-day"><?php echo date('d', strtotime($event_meta['mep_event_start_date'][0])); ?></div>
|
||||
<div class="mep-month"><?php echo date('M', strtotime($event_meta['mep_event_start_date'][0])); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mep_list_event_details"><a href="<?php the_permalink(); ?>">
|
||||
<div class="mep-list-header">
|
||||
<h2 class='mep_list_title'><?php the_title(); ?></h2>
|
||||
<h3 class='mep_list_date'> Price Start from: <?php echo mep_event_list_price(get_the_id()); ?><!-- <i class="fa fa-calendar"></i> <?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo $event_meta['mep_event_end_date'][0]; ?> --></h3>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if($style=='list'){
|
||||
?>
|
||||
<div class="mep-event-excerpt">
|
||||
<?php the_excerpt(); ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="mep-list-footer">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-university"></i> </div>
|
||||
<div class="evl-cc">
|
||||
<h5><?php _e('Organized By:','mepevent'); ?></h5>
|
||||
<h6><?php echo $author_terms[0]->name; ?></h6>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-map-marker"></i> </div>
|
||||
<div class="evl-cc">
|
||||
<h5><?php _e('Location:','mepevent'); ?></h5>
|
||||
<h6><?php echo $event_meta['mep_city'][0]; ?></h6>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="evl-ico"><i class="fa fa-calendar"></i> </div>
|
||||
<div class="evl-cc">
|
||||
<h5><?php _e('Time:','mepevent'); ?></h5>
|
||||
<h6><?php echo date('h:i A', strtotime($event_meta['mep_event_start_date'][0])); ?> - <?php echo date('h:i A', strtotime($event_meta['mep_event_end_date'][0])); ?></h6>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -4,26 +4,26 @@ function mep_cpt_tax(){
|
|||
|
||||
|
||||
$labels = array(
|
||||
'name' => _x( 'Event Category','mep' ),
|
||||
'singular_name' => _x( 'Event Category','mep' ),
|
||||
'menu_name' => __( 'Category', 'mep' ),
|
||||
'all_items' => __( 'All Event Category', 'mep' ),
|
||||
'parent_item' => __( 'Parent Category', 'mep' ),
|
||||
'parent_item_colon' => __( 'Parent Category:', 'mep' ),
|
||||
'new_item_name' => __( 'New Category Name', 'mep' ),
|
||||
'add_new_item' => __( 'Add New Category', 'mep' ),
|
||||
'edit_item' => __( 'Edit Category', 'mep' ),
|
||||
'update_item' => __( 'Update Category', 'mep' ),
|
||||
'view_item' => __( 'View Category', 'mep' ),
|
||||
'separate_items_with_commas' => __( 'Separate Category with commas', 'mep' ),
|
||||
'add_or_remove_items' => __( 'Add or remove Category', 'mep' ),
|
||||
'choose_from_most_used' => __( 'Choose from the most used', 'mep' ),
|
||||
'popular_items' => __( 'Popular Category', 'mep' ),
|
||||
'search_items' => __( 'Search Category', 'mep' ),
|
||||
'not_found' => __( 'Not Found', 'mep' ),
|
||||
'no_terms' => __( 'No Category', 'mep' ),
|
||||
'items_list' => __( 'Category list', 'mep' ),
|
||||
'items_list_navigation' => __( 'Category list navigation', 'mep' ),
|
||||
'name' => _x( 'Event Category','mepevent' ),
|
||||
'singular_name' => _x( 'Event Category','mepevent' ),
|
||||
'menu_name' => __( 'Category', 'mepevent' ),
|
||||
'all_items' => __( 'All Event Category', 'mepevent' ),
|
||||
'parent_item' => __( 'Parent Category', 'mepevent' ),
|
||||
'parent_item_colon' => __( 'Parent Category:', 'mepevent' ),
|
||||
'new_item_name' => __( 'New Category Name', 'mepevent' ),
|
||||
'add_new_item' => __( 'Add New Category', 'mepevent' ),
|
||||
'edit_item' => __( 'Edit Category', 'mepevent' ),
|
||||
'update_item' => __( 'Update Category', 'mepevent' ),
|
||||
'view_item' => __( 'View Category', 'mepevent' ),
|
||||
'separate_items_with_commas' => __( 'Separate Category with commas', 'mepevent' ),
|
||||
'add_or_remove_items' => __( 'Add or remove Category', 'mepevent' ),
|
||||
'choose_from_most_used' => __( 'Choose from the most used', 'mepevent' ),
|
||||
'popular_items' => __( 'Popular Category', 'mepevent' ),
|
||||
'search_items' => __( 'Search Category', 'mepevent' ),
|
||||
'not_found' => __( 'Not Found', 'mepevent' ),
|
||||
'no_terms' => __( 'No Category', 'mepevent' ),
|
||||
'items_list' => __( 'Category list', 'mepevent' ),
|
||||
'items_list_navigation' => __( 'Category list navigation', 'mepevent' ),
|
||||
);
|
||||
|
||||
$args = array(
|
||||
|
@ -40,26 +40,26 @@ register_taxonomy('mep_cat', 'mep_events', $args);
|
|||
|
||||
|
||||
$labelso = array(
|
||||
'name' => _x( 'Event Organizer','mep' ),
|
||||
'singular_name' => _x( 'Event Organizer','mep' ),
|
||||
'menu_name' => __( 'Organizer', 'mep' ),
|
||||
'all_items' => __( 'All Event Organizer', 'mep' ),
|
||||
'parent_item' => __( 'Parent Organizer', 'mep' ),
|
||||
'parent_item_colon' => __( 'Parent Organizer:', 'mep' ),
|
||||
'new_item_name' => __( 'New Organizer Name', 'mep' ),
|
||||
'add_new_item' => __( 'Add New Organizer', 'mep' ),
|
||||
'edit_item' => __( 'Edit Organizer', 'mep' ),
|
||||
'update_item' => __( 'Update Organizer', 'mep' ),
|
||||
'view_item' => __( 'View Organizer', 'mep' ),
|
||||
'separate_items_with_commas' => __( 'Separate Organizer with commas', 'mep' ),
|
||||
'add_or_remove_items' => __( 'Add or remove Organizer', 'mep' ),
|
||||
'choose_from_most_used' => __( 'Choose from the most used', 'mep' ),
|
||||
'popular_items' => __( 'Popular Organizer', 'mep' ),
|
||||
'search_items' => __( 'Search Organizer', 'mep' ),
|
||||
'not_found' => __( 'Not Found', 'mep' ),
|
||||
'no_terms' => __( 'No Organizer', 'mep' ),
|
||||
'items_list' => __( 'Organizer list', 'mep' ),
|
||||
'items_list_navigation' => __( 'Organizer list navigation', 'mep' ),
|
||||
'name' => _x( 'Event Organizer','mepevent' ),
|
||||
'singular_name' => _x( 'Event Organizer','mepevent' ),
|
||||
'menu_name' => __( 'Organizer', 'mepevent' ),
|
||||
'all_items' => __( 'All Event Organizer', 'mepevent' ),
|
||||
'parent_item' => __( 'Parent Organizer', 'mepevent' ),
|
||||
'parent_item_colon' => __( 'Parent Organizer:', 'mepevent' ),
|
||||
'new_item_name' => __( 'New Organizer Name', 'mepevent' ),
|
||||
'add_new_item' => __( 'Add New Organizer', 'mepevent' ),
|
||||
'edit_item' => __( 'Edit Organizer', 'mepevent' ),
|
||||
'update_item' => __( 'Update Organizer', 'mepevent' ),
|
||||
'view_item' => __( 'View Organizer', 'mepevent' ),
|
||||
'separate_items_with_commas' => __( 'Separate Organizer with commas', 'mepevent' ),
|
||||
'add_or_remove_items' => __( 'Add or remove Organizer', 'mepevent' ),
|
||||
'choose_from_most_used' => __( 'Choose from the most used', 'mepevent' ),
|
||||
'popular_items' => __( 'Popular Organizer', 'mepevent' ),
|
||||
'search_items' => __( 'Search Organizer', 'mepevent' ),
|
||||
'not_found' => __( 'Not Found', 'mepevent' ),
|
||||
'no_terms' => __( 'No Organizer', 'mepevent' ),
|
||||
'items_list' => __( 'Organizer list', 'mepevent' ),
|
||||
'items_list_navigation' => __( 'Organizer list navigation', 'mepevent' ),
|
||||
);
|
||||
|
||||
$argso = array(
|
||||
|
|
|
@ -148,7 +148,7 @@ jQuery('#eventpxtp_<?php echo $count; ?>').on('change', function () {
|
|||
jQuery('#dadainfo_<?php echo $count; ?>').append(
|
||||
jQuery('<div/>')
|
||||
.attr("id", "newDiv" + i)
|
||||
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> Attendee info:"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='Enter Your Name'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='Enter Your Email'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='Enter Your Phone'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='Enter you address'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'>T-Shirt Size<select name='tshirtsize[]' id='gen'><option value=''>Please Select</option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'>Gender<select name='gender[]' id='gen'><option value=''>Please Select</option><option value='Male'>Male</option><option value='Female'>Female</option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='Company'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='Designation'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='Website'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'>Vegetarian<select name='vegetarian[]' id='veg'><option value=''>Please Select</option><option value='Yes'>Yes</option><option value='No'>No</option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
|
||||
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info:','mepevent'); ?>"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mepevent'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mepevent'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mepevent'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mepevent'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mepevent'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mepevent'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Male'><?php _e('Male','mepevent'); ?></option><option value='Female'><?php _e('Female','mepevent'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mepevent'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mepevent'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mepevent'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mepevent'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Yes'><?php _e('Yes','mepevent'); ?></option><option value='No'><?php _e('No','mepevent'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -175,7 +175,7 @@ jQuery('#quantity_5a7abbd1bff73').on('change', function () {
|
|||
jQuery('#divParent').append(
|
||||
jQuery('<div/>')
|
||||
.attr("id", "newDiv" + i)
|
||||
.html("<div class='mep-user-info-sec'><h5>Attendee info:"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='Enter Your Name'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='Enter Your Email'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='Enter Your Phone'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='Enter you address'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'>T-Shirt Size<select name='tshirtsize[]' id='gen'><option value=''>Please Select</option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'>Gender<select name='gender[]' id='gen'><option value=''>Please Select</option><option value='Male'>Male</option><option value='Female'>Female</option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='Company'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='Designation'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='Website'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'>Vegetarian<select name='vegetarian[]' id='veg'><option value=''>Please Select</option><option value='Yes'>Yes</option><option value='No'>No</option></select></label><?php do_action('mep_after_reg_form_front'); ?>")
|
||||
.html("<div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info:','mepevent'); ?>"+i+"</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mepevent'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mepevent'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mepevent'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mepevent'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mepevent'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mepevent'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Male'><?php _e('Male','mepevent'); ?></option><option value='Female'><?php _e('Female','mepevent'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mepevent'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mepevent'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mepevent'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mepevent'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Yes'><?php _e('Yes','mepevent'); ?></option><option value='No'><?php _e('No','mepevent'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?>")
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -72,57 +72,57 @@ $values = get_post_custom(get_the_id());
|
|||
</tr>
|
||||
<?php if($values['ea_email'][0]){ ?>
|
||||
<tr>
|
||||
<td>Email</td>
|
||||
<td><?php _e('Email','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_email'][0]; ?></td>
|
||||
</tr>
|
||||
<?php } if($values['ea_phone'][0]){ ?>
|
||||
<tr>
|
||||
<td>Phone</td>
|
||||
<td><?php _e('Phone','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_phone'][0]; ?></td>
|
||||
</tr>
|
||||
<?php } if($values['ea_address_1'][0]){ ?>
|
||||
<tr>
|
||||
<td>Address</td>
|
||||
<td><?php _e('Address','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_address_1'][0]; ?> </td>
|
||||
</tr>
|
||||
<?php } if($values['ea_desg'][0]){ ?>
|
||||
<tr>
|
||||
<td>Designation</td>
|
||||
<td><?php _e('Designation','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_desg'][0]; ?></td>
|
||||
</tr>
|
||||
<?php } if($values['ea_company'][0]){ ?>
|
||||
<tr>
|
||||
<td>Company</td>
|
||||
<td><?php _e('Company','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_company'][0]; ?></td>
|
||||
</tr>
|
||||
<?php } if($values['ea_website'][0]){ ?>
|
||||
<tr>
|
||||
<td>Website</td>
|
||||
<td><?php _e('Website','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_website'][0]; ?> </td>
|
||||
</tr>
|
||||
<?php } if($values['ea_gender'][0]){ ?>
|
||||
<tr>
|
||||
<td>Gender</td>
|
||||
<td><?php _e('Gender','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_gender'][0]; ?> </td>
|
||||
</tr>
|
||||
|
||||
<?php } if($values['ea_vegetarian'][0]){ ?>
|
||||
<tr>
|
||||
<td>Vegetarian</td>
|
||||
<td><?php _e('Vegetarian','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_vegetarian'][0]; ?> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php } if($values['ea_tshirtsize'][0]){ ?>
|
||||
<tr>
|
||||
<td>T Shirt Size</td>
|
||||
<td><?php _e('T Shirt Size','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_tshirtsize'][0]; ?> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
<?php } if($values['ea_ticket_type'][0]){ ?>
|
||||
<tr>
|
||||
<td>Ticket Type</td>
|
||||
<td><?php _e('Ticket Type','mepevent'); ?></td>
|
||||
<td><?php echo $values['ea_ticket_type'][0]; ?> </td>
|
||||
</tr>
|
||||
<?php }
|
||||
|
|
|
@ -25,7 +25,7 @@ $event_sqi = $event_meta['mep_sqi'][0];
|
|||
|
||||
if($book_count){ $total_book = $book_count; }else{ $total_book = 0; }
|
||||
|
||||
$seat_left = ($event_meta['mep_total_seat'][0]- $total_book);
|
||||
$seat_left = ((int)$event_meta['mep_total_seat'][0]- (int)$total_book);
|
||||
$time = strtotime($event_expire_date);
|
||||
$newformat = date('Y-m-d H:i:s',$time);
|
||||
$datetime1 = new DateTime();
|
||||
|
@ -52,10 +52,10 @@ if($mep_event_ticket_type){
|
|||
}
|
||||
|
||||
if(time() > strtotime($newformat)){
|
||||
echo "<span class=event-expire-btn>Event Expired</span>";
|
||||
_e('"<span class=event-expire-btn>Event Expired</span>"','mepevent');
|
||||
}
|
||||
elseif($seat_left<=0){
|
||||
echo "<span class=event-expire-btn>No Seat Available</span>";
|
||||
_e('"<span class=event-expire-btn>No Seat Available</span>"','mepevent');
|
||||
}
|
||||
else{
|
||||
$days = $interval->d;
|
||||
|
@ -84,7 +84,7 @@ if(array_key_exists('mep_reg_status', $event_meta)){
|
|||
|
||||
if($reg_status!='off'){
|
||||
?>
|
||||
<h4 class="mep-cart-table-title"> <?php _e('Register Now:','mep'); ?></h4>
|
||||
<h4 class="mep-cart-table-title"> <?php _e('Register Now:','mepevent'); ?></h4>
|
||||
<form action="" method='post'>
|
||||
<?php do_action('mep_event_ticket_type_extra_service'); ?>
|
||||
<input type='hidden' id='rowtotal' value="<?php echo get_post_meta($post_id,"_price",true); ?>"/>
|
||||
|
@ -92,7 +92,7 @@ if($reg_status!='off'){
|
|||
|
||||
|
||||
<tr>
|
||||
<td align="left" class='total-col'><?php _e('Quantity:','mep'); ?> <?php if($event_sqi==1){
|
||||
<td align="left" class='total-col'><?php _e('Quantity:','mepevent'); ?> <?php if($event_sqi==1){
|
||||
$mep_event_ticket_type = get_post_meta($post_id, 'mep_event_ticket_type', true);
|
||||
if($mep_event_ticket_type){
|
||||
?>
|
||||
|
@ -109,12 +109,12 @@ if($qty_typec=='dropdown'){ ?>
|
|||
</select>
|
||||
<?php }else{ ?>
|
||||
<input id="quantity_5a7abbd1bff73" class="input-text qty text extra-qty-box" step="1" min="1" max="<?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?>" name="quantity" value="1" title="Qty" size="4" pattern="[0-9]*" inputmode="numeric" type="number">
|
||||
<?php } } }else { echo 1; } ?> <span class='the-total'><?php _e('Total','mep'); ?> <span id="usertotal"></span></span></td>
|
||||
<?php } } }else { echo 1; } ?> <span class='the-total'><?php _e('Total','mepevent'); ?> <span id="usertotal"></span></span></td>
|
||||
|
||||
|
||||
|
||||
|
||||
<td align="right"> <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></td>
|
||||
<td align="right"> <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(mep_get_label($post_id,'mep_cart_btn_text','Register This Event'),'mepevent'); ?> </button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
|
@ -123,7 +123,7 @@ if(!$mep_event_ticket_type){
|
|||
if($qm){$qm=$qm;}else{$qm='';}
|
||||
?>
|
||||
<div class="user-info-sec">
|
||||
<div id="divParent"><div class='mep-user-info-sec'><h5><?php echo $qm; ?> Attendee info:1</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='Enter Your Name'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='Enter Your Email'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='Enter Your Phone'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='Enter you address'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'>T-Shirt Size<select name='tshirtsize[]' id='gen'><option value=''>Please Select</option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'>Gender<select name='gender[]' id='gen'><option value=''>Please Select</option><option value='Male'>Male</option><option value='Female'>Female</option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='Company'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='Designation'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='Website'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'>Vegetarian<select name='vegetarian[]' id='veg'><option value=''>Please Select</option><option value='Yes'>Yes</option><option value='No'>No</option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?></div>
|
||||
<div id="divParent"><div class='mep-user-info-sec'><h5><?php echo $qm; ?> <?php _e('Attendee info','mepevent'); ?>:1</h5><input type='<?php if($mep_full_name){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_full_name){ ?> required='required' <?php } ?> name='user_name[]' class='mep_input' placeholder='<?php _e('Enter Your Name','mepevent'); ?>'/><input type='<?php if($mep_reg_email){ echo 'email'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_email){ ?> required='required' <?php } ?> name='user_email[]' class='mep_input' placeholder='<?php _e('Enter Your Email','mepevent'); ?>'/><input type='<?php if($mep_reg_phone){ echo 'text'; }else{ echo 'hidden'; } ?>' <?php if($mep_reg_phone){ ?> required='required' <?php } ?> name='user_phone[]' class='mep_input' placeholder='<?php _e('Enter Your Phone','mepevent'); ?>'/><textarea name='user_address[]' class='mep_input <?php if($mep_reg_address){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' rows='3' <?php if($mep_reg_address){ ?> required='required' <?php } ?> placeholder='<?php _e('Enter you address','mepevent'); ?>'></textarea><label class='<?php if($mep_reg_tshirtsize){ echo "mep-show"; }else{ echo "mep-hidden"; } ?>' for='gen' style='text-align: left;'><?php _e('T-Shirt Size','mepevent'); ?><select name='tshirtsize[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><?php echo mep_get_tshirts_sizes($post->ID); ?></select></label><label class='<?php if($mep_reg_gender){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='gen' style='text-align: left;'><?php _e('Gender','mepevent'); ?><select name='gender[]' id='gen'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Male'><?php _e('Male','mepevent'); ?></option><option value='Female'><?php _e('Female','mepevent'); ?></option></select></label><input type='<?php if($mep_reg_company){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_company[]' class='mep_input' placeholder='<?php _e('Company','mepevent'); ?>'/><input type='<?php if($mep_reg_designation){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_designation[]' class='mep_input' placeholder='<?php _e('Designation','mepevent'); ?>'/><input type='<?php if($mep_reg_website){ echo 'text'; }else{ echo 'hidden'; } ?>' name='user_website[]' class='mep_input' placeholder='<?php _e('Website','mepevent'); ?>'/><label class='<?php if($mep_reg_veg){ echo 'mep-show'; }else{ echo 'mep-hidden'; } ?>' for='veg' style='text-align: left;'><?php _e('Vegetarian','mepevent'); ?><select name='vegetarian[]' id='veg'><option value=''><?php _e('Please Select','mepevent'); ?></option><option value='Yes'><?php _e('Yes','mepevent'); ?></option><option value='No'><?php _e('No','mepevent'); ?></option></select></label><input type='hidden' name='ticket_type[]' class='mep_input' value='<?php echo $qm; ?>' /><?php do_action('mep_after_reg_form_front'); ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
|
|
@ -13,9 +13,9 @@ _e("<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_extra_service_text'
|
|||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td align="left"><?php _e('Name'); ?></td>
|
||||
<td><?php _e('Quantity'); ?></td>
|
||||
<td><?php _e('Price'); ?></td>
|
||||
<td align="left"><?php _e('Name','mepevent'); ?></td>
|
||||
<td><?php _e('Quantity','mepevent'); ?></td>
|
||||
<td><?php _e('Price','mepevent'); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
foreach ($mep_events_extra_prices as $field) {
|
||||
|
@ -27,12 +27,14 @@ foreach ($mep_events_extra_prices as $field) {
|
|||
?>
|
||||
<tr>
|
||||
<td align="Left"><?php echo $field['option_name']; ?>
|
||||
<div class="xtra-item-left">-<?php echo $ext_left; ?> Left</div>
|
||||
<div class="xtra-item-left"><?php echo $ext_left; ?> Left</div>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
|
||||
<?php if($qty_type=='dropdown'){ ?>
|
||||
<?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>
|
||||
|
|
|
@ -11,8 +11,8 @@ $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'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type:
|
||||
')."</h3>"); ?>
|
||||
<?php echo "<h3 class='ex-sec-title'>".mep_get_label($pid,'mep_event_ticket_type_text','Ticket Type:
|
||||
')."</h3>"; ?>
|
||||
<table>
|
||||
<?php
|
||||
$count =1;
|
||||
|
@ -25,19 +25,22 @@ $qty_t_type = $field['option_qty_t_type'];
|
|||
?>
|
||||
<tr>
|
||||
<td align="Left"><?php echo $field['option_name_t']; ?>
|
||||
<div class="xtra-item-left">-<?php echo $llft; ?> Left</div>
|
||||
<div class="xtra-item-left"><?php echo $llft; ?> <?php _e('Left','mepevent'); ?></div>
|
||||
</td>
|
||||
<td class="ticket-qty">
|
||||
<span class="tkt-qty"> <?php _e('Ticket Qty:','mep'); ?> </span>
|
||||
<?php if($qty_t_type=='dropdown'){ ?>
|
||||
<span class="tkt-qty"> <?php _e('Ticket Qty:','mepevent'); ?> </span>
|
||||
|
||||
<?php
|
||||
if($llft>0){
|
||||
if($qty_t_type=='dropdown'){ ?>
|
||||
<select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" class='extra-qty-box etp'>
|
||||
<?php for ($i = 0; $i <= $llft; $i++) { ?>
|
||||
<option value="<?php echo $i; ?>"><?php echo $i; ?> Ticket</option>
|
||||
<option value="<?php echo $i; ?>"><?php echo $i; ?> <?php _e('Ticket','mepevent'); ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php }else{ ?>
|
||||
<input id="eventpxtp_<?php echo $count; ?>" <?php //if($ext_left<=0){ echo "disabled"; } ?> size="4" pattern="[0-9]*" inputmode="numeric" type="number" class='extra-qty-box etp' name='option_qty[]' data-price='<?php echo $field['option_price_t']; ?>' value='0' min="0" max="<?php echo $llft; ?>">
|
||||
<?php } ?>
|
||||
<?php } } ?>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ $mep_event_faq = get_post_meta($post->ID, 'mep_event_faq', true);
|
|||
if ( $mep_event_faq ) {
|
||||
?>
|
||||
<div class="mep-event-faq-part">
|
||||
<h4><?php _e('Event F.A.Q','mep'); ?></h4>
|
||||
<h4><?php _e('Event F.A.Q','mepevent'); ?></h4>
|
||||
<div id='mep-event-accordion' class="">
|
||||
<?php
|
||||
foreach ( $mep_event_faq as $field ) {
|
||||
|
|
|
@ -4,5 +4,5 @@ add_action('mep_event_organizer','mep_ev_org');
|
|||
|
||||
function mep_ev_org(){
|
||||
global $author_terms;
|
||||
if($author_terms){ ?><p> <?php _e('By:','mep'); ?> <a href="<?php echo get_term_link( $author_terms[0]->term_id, 'mep_org' ); ?>"><?php echo $author_terms[0]->name; ?></a></p><?php }
|
||||
if($author_terms){ ?><p> <?php _e('By:','mepevent'); ?> <a href="<?php echo get_term_link( $author_terms[0]->term_id, 'mep_org' ); ?>"><?php echo $author_terms[0]->name; ?></a></p><?php }
|
||||
}
|
||||
|
|
|
@ -9,5 +9,5 @@ if($event_meta['_price'][0]>0){
|
|||
?>
|
||||
<h3><?php echo $event_meta['mep_price_label'][0]; ?>: </h3>
|
||||
<?php } echo get_woocommerce_currency_symbol().$event_meta['_price'][0]; ?>
|
||||
<?php } else{ _e('','mep'); }
|
||||
<?php } else{ _e('','mepevent'); }
|
||||
}
|
|
@ -7,7 +7,7 @@ function mep_ev_social_share(){
|
|||
$post_id = $post->ID;
|
||||
?>
|
||||
<div class="mep-event-meta">
|
||||
<?php echo mep_get_label($post_id,'mep_share_text','Share This Event:'); ?> <?php mep_social_share(); ?>
|
||||
<?php _e(mep_get_label($post_id,'mep_share_text','Share This Event:'),'mepevent'); ?> <?php mep_social_share(); ?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
|
@ -26,12 +26,12 @@ $llft = ($field['option_qty_t'] - $tesq);
|
|||
$leftt = $leftt+$llft;
|
||||
}
|
||||
?>
|
||||
<h5><strong><?php _e('Total Seat:','mep'); ?></strong> <?php echo $stc; ?> (<strong><?php echo $leftt; ?></strong> Left)</h5>
|
||||
<h5><strong><?php _e('Total Seat:','mepevent'); ?></strong> <?php echo $stc; ?> (<strong><?php echo $leftt; ?></strong> Left)</h5>
|
||||
<?php
|
||||
|
||||
}else{
|
||||
if($event_meta['mep_total_seat'][0]){ ?>
|
||||
<h5><strong><?php _e('Total Seat:','mep'); ?></strong> <?php echo $event_meta['mep_total_seat'][0]; ?> (<strong><?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?></strong> Left)</h5>
|
||||
<h5><strong><?php _e('Total Seat:','mepevent'); ?></strong> <?php echo $event_meta['mep_total_seat'][0]; ?> (<strong><?php echo ($event_meta['mep_total_seat'][0]- $total_book); ?></strong> Left)</h5>
|
||||
<?php }
|
||||
}
|
||||
|
||||
|
|
|
@ -14,21 +14,21 @@
|
|||
<div class="mep-default-feature-date">
|
||||
<div class="df-ico"><i class="fa fa-calendar"></i></div>
|
||||
<div class='df-dtl'>
|
||||
<h3><?php _e('Event Date:','mep'); ?></h3>
|
||||
<h3><?php _e('Event Date:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_date_only'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mep-default-feature-time">
|
||||
<div class="df-ico"><i class="fa fa-clock-o"></i></div>
|
||||
<div class='df-dtl'>
|
||||
<h3><?php _e('Event Time:','mep'); ?></h3>
|
||||
<h3><?php _e('Event Time:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_time_only'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mep-default-feature-location">
|
||||
<div class="df-ico"><i class="fa fa-map-marker"></i></div>
|
||||
<div class='df-dtl'>
|
||||
<h3><?php _e('Event Location:','mep'); ?></h3>
|
||||
<h3><?php _e('Event Location:','mepevent'); ?></h3>
|
||||
<p><?php do_action('mep_event_location_venue'); ?>, <?php do_action('mep_event_location_city'); ?> </p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -50,7 +50,7 @@
|
|||
</div>
|
||||
<div class="mep-default-sidebar">
|
||||
<div class="mep-default-sidrbar-map">
|
||||
<h3><?php _e('Event Location:','mep'); ?></h3>
|
||||
<h3><?php _e('Event Location:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_map'); ?>
|
||||
</div>
|
||||
<div class="df-sidebar-part">
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
<div class="mep-right-col">
|
||||
<div class="mep-event-datetime">
|
||||
<h3><?php _e('Date and Time:','mep'); ?></h3>
|
||||
<h3><?php _e('Date and Time:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_date'); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<div class="mep-content-part">
|
||||
<div class="mep-left-col">
|
||||
<div class="mep-event-details">
|
||||
<h3 class="mep-desc-title"><?php _e('Description','mep'); ?></h3>
|
||||
<h3 class="mep-desc-title"><?php _e('Description','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_details'); ?>
|
||||
<div class="mep-theme1-faq-sec">
|
||||
<?php do_action('mep_event_faq'); ?>
|
||||
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="mep-event-location">
|
||||
<h3><?php _e('Event Location:','mep'); ?></h3>
|
||||
<h3><?php _e('Event Location:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_location') ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
</div>
|
||||
<div class="mep-tem2-venue">
|
||||
<div class="tm2-location">
|
||||
<h3><?php _e('Organizer:','mep'); ?></h3>
|
||||
<h3><?php _e('Organizer:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_organizer'); ?>
|
||||
<h3><?php _e('Venue:','mep'); ?></h3>
|
||||
<h3><?php _e('Venue:','mepevent'); ?></h3>
|
||||
<?php do_action('mep_event_location') ?>
|
||||
</div>
|
||||
<div class="tm2-map">
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<!-- Mid sec end -->
|
||||
|
||||
<div class="mep-tem3-event-details">
|
||||
<h2>About The Event:</h2>
|
||||
<h2><?php _e('About The Event','mepevent'); ?>:</h2>
|
||||
<?php do_action('mep_event_details'); ?>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
* Version: 2.1.4
|
||||
* Author: MagePeople Team
|
||||
* Author URI: http://www.mage-people.com/
|
||||
* Text Domain: contact-form-7
|
||||
* Domain Path: /languages/
|
||||
*/
|
||||
|
||||
|
||||
|
@ -556,8 +558,8 @@ function mep_set_custom_edit_event_columns($columns) {
|
|||
|
||||
unset( $columns['date'] );
|
||||
|
||||
$columns['mep_status'] = __( 'Status', 'mep' );
|
||||
$columns['mep_atten'] = __( 'Attendees', 'mep' );
|
||||
$columns['mep_status'] = __( 'Status', 'mepevent' );
|
||||
$columns['mep_atten'] = __( 'Attendees', 'mepevent' );
|
||||
|
||||
return $columns;
|
||||
}
|
||||
|
@ -623,14 +625,14 @@ function mep_set_custom_events_attendees_columns($columns) {
|
|||
unset( $columns['title'] );
|
||||
unset( $columns['date'] );
|
||||
|
||||
$columns['mep_uid'] = __( 'Unique ID', 'mep' );
|
||||
$columns['mep_fn'] = __( 'Full Name', 'mep' );
|
||||
$columns['mep_uid'] = __( 'Unique ID', 'mepevvent' );
|
||||
$columns['mep_fn'] = __( 'Full Name', 'mepevent' );
|
||||
// $columns['mep_email'] = __( 'email', 'mep' );
|
||||
// $columns['mep_phone'] = __( 'Phone', 'mep' );
|
||||
// $columns['mep_address'] = __( 'Addresss', 'mep' );
|
||||
// $columns['mep_tsize'] = __( 'Tee Size', 'mep' );
|
||||
$columns['mep_ttype'] = __( 'Ticket', 'mep' );
|
||||
$columns['mep_evnt'] = __( 'Event', 'mep' );
|
||||
$columns['mep_ttype'] = __( 'Ticket', 'mepevent' );
|
||||
$columns['mep_evnt'] = __( 'Event', 'mepevent' );
|
||||
|
||||
return $columns;
|
||||
}
|
||||
|
@ -839,10 +841,10 @@ ob_start();
|
|||
<div class="mep-user-ticket-list">
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Ticket</th>
|
||||
<th>Event</th>
|
||||
<th>Download</th>
|
||||
<th><?php _e('Name','mepevent'); ?></th>
|
||||
<th><?php _e('Ticket','mepevent'); ?></th>
|
||||
<th><?php _e('Event','mepevent'); ?></th>
|
||||
<th><?php _e('Download','mepevent'); ?></th>
|
||||
</tr>
|
||||
<?php
|
||||
$args_search_qqq = array (
|
||||
|
@ -871,7 +873,7 @@ $event_id = get_post_meta( get_the_id(), 'ea_event_id', true );
|
|||
<td><?php echo get_post_meta( get_the_id(), 'ea_name', true ); ?></td>
|
||||
<td><?php echo get_post_meta( get_the_id(), 'ea_ticket_type', true ); ?></td>
|
||||
<td><?php echo get_post_meta( get_the_id(), 'ea_event_name', true ); ?></td>
|
||||
<td><a href="<?php the_permalink(); ?>">Download</a></td>
|
||||
<td><a href="<?php the_permalink(); ?>"><?php _e('Download','mepevent'); ?></a></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue