The events are live music shows which are promoted as a single day event. However the events usually end after midnight, so the event shows dates for 2 days. I don’t want the second day to show as this can be confusing. However, I do want the end time to display. Is there a function that will do this?
screenshot here: https://ibb.co/cy77h08
The function used to output those dates is espresso_list_of_event_dates and it’s a pluggable function so you could place a copy of that in your own custom functions plugin to override the default output with whatever you prefer.
So, if the number of days for a DateTime is more than 1, output the DateTime as normal, otherwise output just the start date.
Is that what you are looking for?
Viewing 1 reply thread
The support post ‘Hide 2nd day on ee-event-datetimes-li-daterange’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.