Support

Home Forums Event Espresso Premium Events not showing canceled or rescheduled

Events not showing canceled or rescheduled

Posted: March 12, 2020 at 9:10 am


Joseph Guarino

March 12, 2020 at 9:10 am

As the outbreak of COVID-19 is in full force I’m having to cancel many ongoing events. Unfortunately, I’m not seeing the status show in event itself or the events table. In the events table it still shows ‘register’ and then in the event itself it doesn’t show anything about cancellation. Is there a way to show the event status in both cases?

Perhaps this should be the default in the future versions of the plugin/add-ons.

Thanks in advance!


Josh

  • Support Staff

March 12, 2020 at 10:55 am

Hi Joseph,

I’m sorry to hear that you’re having to cancel many events.

There is a setting in Event Espresso > Events > Templates that switches on/off the Event status display. Under Single Event Pages you set Display Status Banner to Yes. If you use the [ESPRESSO_EVENTS] shortcode or the native WordPress events archive, there’s also a Display Status Banner setting under the heading “Event List Pages” that can be set to Yes.

With regards to the events table, the table itself doesn’t include code to check the event’s status, but that’s something we can add in future versions.

If you want to add this to your table template now, it’s a simple add:
You copy the template file over to your child theme from the Events table template add-on. Then immediately after the line that starts with
$button_text you add this:
$button_text = $post->EE_Event->is_cancelled() ? 'Cancelled' : $button_text;


Joseph Guarino

March 27, 2020 at 11:47 am

Thank you! =)

The support post ‘Events not showing canceled or rescheduled’ 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