Home Forums Event Espresso Premium Canceled events in the table template

Canceled events in the table template

Posted: March 8, 2018 at 4:12 am


March 8, 2018 at 4:12 am

In the events table template the sold out courses are shown as “sold out”. Is it possible to have that for the canceled events or at least show somehow the event status?


  • Support Staff

March 9, 2018 at 7:22 am

Hi there,

It’s possible to add this to the table template with custom PHP programming. If you open up the templates folder, you can find the template and copy the template you’re using over to your active WordPress theme’s folder.

Then you look for a block of code that starts with:
if ( $event->is_sold_out()

Then before or after that block add something like this:

if ( $event->is_cancelled() ) {
	$live_button	= '<a id="a_register_link-'.$post->ID.'" class="cancelled a_register_link" href="' 

The support post ‘Canceled events in the table template’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 1 year ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!