How To Override setting page
-
Hello
I want to Re-Order the Venue inputs of address form, from country, postcode, State, City,place(Japanese Style).
How to override this file easy way? Is Only overwrite plugin file?
mage-eventpress\inc\mep_event_meta.php
How To Override and Change Event Templates – Documentation – WooCommerce Event Manager (mage-people.com)If possible, it would be nice if placing the file in
child-theme\plugins\mage-eventpress\****
would override the input fields.<div class="mp_ticket_type_table"> <table> <tr> <th style="min-width: 160px;"><?php esc_html_e(" Location Source:", "mage-eventpress"); ?></th> <td colspan="3" style="min-width: 450px;"> <label for='mep_org_address_list'> <select class="mp_formControl" name="mep_org_address" class='mep_org_address_list' id='mep_org_address_list'> <option value="0" <?php echo ($mep_org_address == 0) ? esc_attr('selected') : ''; ?>><?php echo esc_html($event_label); _e(' Details', 'mage-eventpress'); ?></option> <option value="1" <?php echo ($mep_org_address == 1) ? esc_attr('selected') : ''; ?>><?php esc_html_e('Organizer', 'mage-eventpress'); ?></option> </select> </label> <p class="event_meta_help_txt"> <?php esc_html_e('If you have saved organizer details, please select the "Organizer" option. Please note that if you select "Organizer" and have not checked the organizer from the Event Organizer list on the right sidebar, the Event Location section will not populate on the front end.', 'mage-eventpress'); ?> </p> </td> </tr> <tr class="mp_event_address"> <th><span><?php esc_html_e('Country: ', 'mage-eventpress'); ?></span></th> <td> <label> <input type="text" name='mep_country' placeholder="Ex: USA" class="mp_formControl" value='<?php echo mep_get_event_locaion_item($post_id, 'mep_country'); ?>'> </label> </td> <th><span><?php esc_html_e('Postcode: ', 'mage-eventpress'); ?></span></th> <td> <label> <input type="text" name='mep_postcode' placeholder="Ex: 10016" class="mp_formControl" value='<?php echo mep_get_event_locaion_item($post_id, 'mep_postcode'); ?>'> </label> </td> </tr> <tr class="mp_event_address"> <th><span><?php esc_html_e('State: ', 'mage-eventpress'); ?></span></th> <td> <label> <input type="text" name='mep_state' placeholder="Ex: NY" class="mp_formControl" value='<?php echo mep_get_event_locaion_item($post_id, 'mep_state'); ?>'> </label> </td> <th><span><?php esc_html_e('City: ', 'mage-eventpress'); ?></span></th> <td> <label> <input type="text" name='mep_city' placeholder="Ex: New York" class="mp_formControl" value='<?php echo mep_get_event_locaion_item($post_id, 'mep_city'); ?>'> </label> </td> </tr> <tr class="mp_event_address"> <th><span><?php esc_html_e('Street:', 'mage-eventpress'); ?></span></th> <td> <label> <input type="text" name='mep_street' placeholder="Ex: 10 E 33rd St" class="mp_formControl" value='<?php echo mep_get_event_locaion_item($post_id, 'mep_street'); ?>'> </label> </td> <th><?php esc_html_e('Location/Venue:', 'mage-eventpress'); ?></th> <td> <label> <input type="text" name='mep_location_venue' placeholder="Ex: New york Meeting Center" class="mp_formControl" value='<?php echo mep_get_event_locaion_item($post_id, 'mep_location_venue'); ?>'> </label> </td> </tr> </table> </div>
- The topic ‘How To Override setting page’ is closed to new replies.