Hi there! I’ve created a custom archive template, that uses wp_query to show events. Currently I’m using <?php espresso_event_date('M d, Y'); ?> to show the date; however it prints the date and time. Is there a way to only show the date or date range and show the time separately? Similar to the way it’s displayed on the individual event pages.
Ex: January 19, 2015
10:00am – 12:00pm
Ex: January 19, 2015 – January 20, 2015
10:00am – 12:00pm
The support post ‘Display Date and Time in Custom Archive 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.
Support forum for Event Espresso 3 and Event Espresso 4.