From d031ab7fa18a13ced0bba8462cb6849bd87701dc Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 21 Dec 2015 13:22:02 +1100 Subject: [PATCH] Wrap player gallery with div and increase thumbnail size --- templates/player-gallery-thumbnail.php | 2 +- templates/player-gallery.php | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/player-gallery-thumbnail.php b/templates/player-gallery-thumbnail.php index 0cecdbc1..19e058a9 100644 --- a/templates/player-gallery-thumbnail.php +++ b/templates/player-gallery-thumbnail.php @@ -15,7 +15,7 @@ $defaults = array( 'icontag' => 'dt', 'captiontag' => 'dd', 'caption' => null, - 'size' => 'thumbnail', + 'size' => 'gallery', 'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false, ); diff --git a/templates/player-gallery.php b/templates/player-gallery.php index 413e6e00..fc38eb7a 100644 --- a/templates/player-gallery.php +++ b/templates/player-gallery.php @@ -22,7 +22,7 @@ $defaults = array( 'captiontag' => 'dd', 'grouptag' => 'h4', 'columns' => 3, - 'size' => 'thumbnail', + 'size' => 'medium', 'show_all_players_link' => false, 'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false, ); @@ -121,6 +121,8 @@ echo apply_filters( 'gallery_style', $gallery_style . "\n\t\t" ); $i = 0; echo '