Support

Home Forums Event Espresso Premium HTML/Short Code for Event Tickets and Datetimes

HTML/Short Code for Event Tickets and Datetimes

Posted: June 5, 2018 at 3:28 pm


Outlandish

June 5, 2018 at 3:28 pm

We need both the event tickets and datetimes available in our layout. When we embed the ticket selector or the short code, we only get the event tickets and not the date and times of our event.

Thank you


Josh

  • Support Staff

June 5, 2018 at 3:38 pm

Hi,

I’m afraid there isn’t a shortcode for datetimes. If you can add PHP code to your layout you can add the following PHP code to the layout template to display the list of datetimes:

<?php global $post; /* only add this line if needed */ ?>
<?php espresso_list_of_event_dates( $post->ID ); ?>

The support post ‘HTML/Short Code for Event Tickets and Datetimes’ 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.

Event Espresso