by default the EVENT_LIST shortcode shows sold out events. i found this topic and followed these instructions finding the default: code around line 428 in event_list.php. i tried putting the updated file in my theme folder and also tried changing the code in the plugin template file, but still i see the sold out events. is there a better way?
default:
if ( (int)get_number_of_attendees_reg_limit($event_id, 'num_completed') == (int)$reg_limit) {
//do nothing
} else {
//Uncomment to show active status array
//print_r( event_espresso_get_is_active($event_id));
if ( empty( $path ) ) {
include( $template_name );
} else {
include( $path );
}
}
break;
Viewing 1 reply thread
The support post ‘hide sold out events in event listing EE 3.1.36.5.P’ 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.