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

  • Support Staff

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, 4 months ago by Ginger.
  • This reply was modified 12 years, 4 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