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
How to change Event Start Time/End Time HTML? | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium How to change Event Start Time/End Time HTML?

How to change Event Start Time/End Time HTML?

Posted: August 16, 2012 at 2:44 pm

Viewing 3 reply threads


Ginger

August 16, 2012 at 2:44 pm

Hi,

I’d like to have my start time/end time formatted like this:

Start Time: 8:00am
End Time: 5:00pm

Currently, there is some weird spacing and line breaks being inserted:
http://cl.ly/image/3f070503392d

I can’t seem to find the place to edit this. Can someone point me to the right direction? Thanks!


Josh

August 16, 2012 at 4:09 pm

HI Ginger,

You might try wrapping the [ESPRESSO_EVENTS] shortcode in raw tags if there are additional paragraph tags getting added to the source of the page:

[raw][ESPRESSO_EVENTS][/raw]

Otherwise, the registration_page_display.php template is where you’ll find the code that displays the start/end times.


Ginger

August 16, 2012 at 4:13 pm

Hi Josh,

Yes, I tried looking in the registration_page_display.php template file, but the code that controls this is in a function that I can’t quite find.

(Having trouble pasting the code here):
http://cl.ly/image/2q1T2b3N0329

  • This reply was modified 12 years, 5 months ago by Ginger.
  • This reply was modified 12 years, 5 months ago by Ginger.


Ginger

August 16, 2012 at 6:41 pm

Hi again,

I just found a different way to call the start time/end time.

Used event_espresso_get_time() instead of the default event_espresso_display_selected_time() in registration_page_display.php.

Thanks!

Viewing 3 reply threads

The support post ‘How to change Event Start Time/End Time HTML?’ 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