Support

Home Forums Event Espresso Premium Show event "end time" on custom template

Show event "end time" on custom template

Posted: December 11, 2012 at 4:04 pm


Cara Wright

December 11, 2012 at 4:04 pm

I am using the event_list_table.php custom template file and would like to include an “end time” for our events in the table. Can anyone give me specific instructions on how to do that?

Also, I would like to change the time format for both start time and end time.


Dean

December 12, 2012 at 12:50 am

Hello Cara,

The time format is based upon the WordPress general settings, so by changing the overall time format, you will change it in the template as well.

To get the end time, you basically just copy all the start time code blocks and replace start with end. However, for some reason the sql query on line 26 doesnt obtain the end time so that will need amending.

I have done a rough version which you can find here http://pastebin.com/xeu5KAby which includes those changes for you to have a look at.

The support post ‘Show event "end time" on custom template’ 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