Hi guys,
I need to add this feature on the espresso_table.php file
We have some events that run over two weekends, and I would like to show in the date time both dates. I mean, for ex:
2 Weekends Event – Feb 15/16 and Feb 22/23 – from 09.00am to 7.30pm – book
I can use the EE_META to add the “and Feb 22/23” part.. but I don’t want to edit the actual table layout, where the dates for the other events are shown in this way :
Week event – Feb 17 to Feb 21 – from 09.00am to 7.30pm – book
I assume I can do that using a “if – else” cycle.. But I need help to do the syntax:
actual code :
<?php echo event_date_display($event->start_date, $format = 'M d') ?> to <?php echo event_date_display($event->end_date, $format = 'M d') ?>
Thanks Dean,
I’ve used your snippet but with some modifications, because it wasn’t working.
If you need it (fixed) as future reference for other users, please feel free to ask.
Thanks again,
G.
Viewing 2 reply threads
The support post ‘How to Display EE_META if they exist’ 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.