Support

Home Forums Event Espresso Premium Event with multiple datetimes should show in list after first datetime

Event with multiple datetimes should show in list after first datetime

Posted: May 1, 2017 at 6:11 am

Viewing 1 reply thread


asteiner

May 1, 2017 at 6:11 am

I have events with multiple datetimes.

Example:

Datetimes of 1 course, 29.04.2017 and 06.05.2017

As the first date has past, the first datetime is not shown anymore. But the second datetime is shown as if that event only had that datetime.

Is there a way to only display events that have not yet started? (without manually having to change the status of the event every tie an event starts?)


Josh

  • Support Staff

May 1, 2017 at 8:35 am

Hi there,

If I understand your question correctly, you’ll add this code to your site specific plugin:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter_events_out_with_expired_tickets.php

This will result in the event list showing only events that still have tickets for sale.

Viewing 1 reply thread

The support post ‘Event with multiple datetimes should show in list after first datetime’ 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