Support

Home Forums Event Espresso Premium Event showing with past dates

Event showing with past dates

Posted: June 3, 2016 at 7:29 am

Viewing 1 reply thread


wmnf

June 3, 2016 at 7:29 am

Can you tell me what would cause this event to show? We are using the following shortcode:

[ESPRESSO_EVENTS category_slug=”music-events” limit=”5″ title=”Music Events” order_by=”start_date,id” pagination=”true”]

Listing: http://www.wmnf.org/Capture.PNG
Settings: http://www.wmnf.org/Capture1.PNG

Also, is there a way to suppress the second date if they are the same?


Josh

  • Support Staff

June 3, 2016 at 10:02 am

Hi there,

It’s because the two middle event date times are set to end in the year 2116.

There might be a way to suppress the second date if they’re the same, one way would would involve adding some PHP code and editing the code in the espresso_list_of_event_dates() function. It’s a pluggable function so it’s possible to copy it over to your WordPress theme and customize it. Or another approach would be to hide the extra date times using CSS.

Viewing 1 reply thread

The support post ‘Event showing with past dates’ 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