I’m trying to add a section on my homepage that list the most recent upcoming event. I’m able to get the title and description displayed fine but cannot figure out how to get the date to display. Everytime I use the “event_date_display” it crashed my page.
Here is the code that is working with just title and description but without the date:
FYI the reason your site crashed when you tried event_date_display() is because that’s an Event Espresso 3 function and isn’t provided in Event Espresso 4.
Viewing 2 reply threads
The support post ‘PHP Echo Date and Time for EE4’ 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.