From 6d6148280e7e01996a2cc370d5cbb310ccf329a5 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Fri, 20 Jun 2014 17:40:16 +1000 Subject: [PATCH] Display team player list title only if not grouped --- templates/team-lists.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/team-lists.php b/templates/team-lists.php index 369aca5a..f0bef69f 100644 --- a/templates/team-lists.php +++ b/templates/team-lists.php @@ -17,8 +17,9 @@ $lists = $team->lists(); foreach ( $lists as $list ): $id = $list->ID; + $grouping = get_post_meta( $id, 'sp_grouping', true ); - if ( $id && sizeof( $lists ) > 1 ): + if ( $grouping !== 'position' && sizeof( $lists ) > 1 ): ?>

post_title; ?>