Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Remove Start Time and End Time Text from Templates | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Remove Start Time and End Time Text from Templates

Remove Start Time and End Time Text from Templates

Posted: May 13, 2013 at 9:11 am

Viewing 1 reply thread


Jeanette Green

May 13, 2013 at 9:11 am

Hey Guys,

I am currently changing the entire layout of the registration_page_display.php to match our requirements, and I need a bit of help regarding the start and end times of an event.

Currently the start and end times are layed out like this:

Start Time: 10:30 AM

End Time: 2:30 PM

using the following piece of code:

[code language=”php]<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> [/code]

What do I need to change in order to remove the ‘start time:’ and ‘end time:’ labels, and have the time displayed on the same line, so that it looks like this: “10:30AM to 2:30PM”

Best,
Andrew


Jeanette Green

May 13, 2013 at 9:32 am

Don’t worry about replying to this ticket, I’ve accomplished what I needed by using the template shortcodes instead.

Viewing 1 reply thread

The support post ‘Remove Start Time and End Time Text from Templates’ 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.

Event Espresso - Staging Server