How to separate date and time in tribe_events_event_schedule_details() output
-
Hello,
I have been trying to find a way to separate the date and the time elements from the output generated for a single event by the
tribe_events_event_schedule_details()
function. I have created a custom filter for'tribe_events_event_schedule_details'
and can add HTML around the date and time, but I can’t see a way of controlling the actual output of the date and time elements.It gets outputted all together like this:
8 September 2017 @ 8:30 am – 5:30 pmMy aim is just to display the date on one line styled in one way, with the time on a line below the date styled differently. Seems like it should be possible, but I haven’t found an example of how this can be done.
I hope you can help by pointing me in the right direction.
Many thanks,
Shaun
- The topic ‘How to separate date and time in tribe_events_event_schedule_details() output’ is closed to new replies.