diff --git a/templates/team-lists.php b/templates/team-lists.php index 8cbe5ed1..27acb589 100644 --- a/templates/team-lists.php +++ b/templates/team-lists.php @@ -20,6 +20,14 @@ $lists = $team->lists(); foreach ( $lists as $list ) : $id = $list->ID; + $grouping = get_post_meta( $id, 'sp_grouping', true ); + + if ( $grouping == 0 && sizeof( $lists ) > 1 ) : + ?> +

post_title ); ?>

+ formats->list ) ) { sp_get_template( 'player-' . $format . '.php', array( 'id' => $id ) );