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="' 

You must be logged in to reply to this support post. Sign In or Register for an Account

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: publish

Updated by  Josh 1 week, 4 days ago ago

Topic Tags


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