From 2f7c215ad9ca16ace9a34991b411859c6fb11d96 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Wed, 7 Dec 2016 17:45:13 +1100 Subject: [PATCH] Hide empty positions in player lists and galleries --- templates/player-gallery.php | 20 +++++++--- templates/player-list.php | 73 +++++++++++++++++++----------------- 2 files changed, 54 insertions(+), 39 deletions(-) diff --git a/templates/player-gallery.php b/templates/player-gallery.php index 92c7913d..5a6f7958 100644 --- a/templates/player-gallery.php +++ b/templates/player-gallery.php @@ -126,13 +126,11 @@ echo apply_filters( 'gallery_style', $gallery_style . "\n\t\t" ); foreach ( $groups as $group ): $i = 0; - echo '