Copied espresso-events-table-template-toggle.template.php to my template directory and edited as follows, my addition right after the while loop is commented:
//Get the category for this event
$event = EEH_Event_View::get_event();
// Added by KB to hide sold outs ========
if ( $event->is_sold_out() || $event->is_sold_out(TRUE ) ) {
continue;
}
//=====================================
No problem, I was just checking if you were aware that you could include the template within your theme.
Viewing 4 reply threads
The support post ‘Event Table View – Hide "Sold Out" events’ 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.