Posted: September 22, 2013 at 8:17 pm
Hi there, I wonder whether you might be able to help me out with something! I’ve installed the REM event_list_display template in my /uploads/espresso/templates folder, and have edited the code to try and add a start time to each event in the list: <code> if ($e['start_date'] != $e['end_date']) : echo event_date_display($e['start_date'], 'F j, Y').'–'.event_date_display($e['end_date'], 'F j, Y'); else : echo event_date_display($e['start_date'], 'D j F Y,'); echo event_espresso_get_time($event_id, 'start_time'); endif;</code> The events I’m displaying are recurring, and with one exception they all begin at 7:45pm. With this code, the list is displayed with ‘7:45pm’ at the end of each item – exactly as I want it. However, the one event which begins at 2:30pm is shown with a 7:45pm timestamp. When I edit and re-save it the entire list changes to display ‘2:30pm’, even though the other events are still set to 7:30pm in the backend. I’ve tried different versions of the start_time shortcode and created events without the REM, but can’t seem to get this to work. Am I doing something wrong, or is this a bug with the template/REM? | |
September 23, 2013 at 11:07 am Hi there, Please see this related forum post that answers your question: http://staging.eventespresso.com/topic/i-have-to-show-event-time-on-recurring-event-tempaltes/ | |
The support post ‘Adding time to REM date picker’ 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.