The template file to edit is event-espresso/templates/confirmation_page_display.php
If you look at like 144-153 you’ll find
<p class="event_time">
<?php
//This block of code is used to display the times of an event in either a dropdown or text format.
if (isset($time_selected) && $time_selected == true) {//If the customer is coming from a page where the time was preselected.
echo event_espresso_display_selected_time($time_id); //Optional parameters start, end, default
} else {
echo event_espresso_time_dropdown($event_id);
}//End time selected
?>
</p>
I would commend out the PHP and add this to output the time:
<p class="event_time">
<?php
/*
//This block of code is used to display the times of an event in either a dropdown or text format.
if (isset($time_selected) && $time_selected == true) {//If the customer is coming from a page where the time was preselected.
echo event_espresso_display_selected_time($time_id); //Optional parameters start, end, default
} else {
echo event_espresso_time_dropdown($event_id);
}//End time selected
*/
echo '<span class="span_event_time_label">' . __('Start Time:', 'event_espresso') . '</span>';
echo ' <span class="span_event_time_value">' . event_date_display($all_meta['start_time'], get_option('time_format')) . '</span>';
?>
</p>
Hope that helps.
Viewing 0 reply threads
The support post ‘How to remove end time from event?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.