Hi Marcel!
To hide past events from showing in the calendar, you can add a couple of snippets.
First, add this to your theme or child theme’s functions.php file:
add_filter( 'post_class', 'tribe_events_add_past_class_to_events', 10, 3 );
function tribe_events_add_past_class_to_events( $classes, $class, $post_id ) {
if ( ! is_array( $classes ) ) {
return $classes;
}
if ( ! tribe_is_event( $post_id ) ) {
return $classes;
}
if ( tribe_is_past_event( $post_id ) ) {
$classes[] = 'tribe-events--is-past-event';
}
return $classes;
}
Then, in your CSS, add this:
.type-tribe_events .tribe-events--is-past-event {
display: none !important;
}
Let me know if that helps!
Thanks,
Sky