Hey Oliver,
Thanks for the patience here! I crafted a little code snippet in order the get this done, please try pasting it in your theme (or child theme) functions.php file:
/* Tribe - insert a list of upcoming instances for recurring events in the list widget */
function tribe_inject_recurring_instances ( ) {
if ( !tribe_is_recurring_event ( ) ) return;
$event_id = Tribe__Events__Main::postIdHelper( null );
$post = get_post( $event_id );
$parent_id = $post->post_parent;
if ( !$parent_id ) $parent_id = $event_id;
$child_events = tribe_get_events( array( 'eventDisplay' => 'list', 'post_parent' => $parent_id, 'post__not_in' => array( $event_id ) ) );
if ( empty ($child_events) ) return;
echo '
';
foreach ( $child_events as $post ) { setup_postdata( $post );
echo '
- ' . $post->post_title . ' - ' . tribe_get_start_date( $post ) . '
';
}
echo '
';
}
add_action('tribe_events_list_widget_after_the_meta', 'tribe_inject_recurring_instances' );
Please let me know if this works as intended,
Best,
Nico