diff --git a/templates/player-gallery-thumbnail.php b/templates/player-gallery-thumbnail.php index 19e058a9..c7cb7f1d 100644 --- a/templates/player-gallery-thumbnail.php +++ b/templates/player-gallery-thumbnail.php @@ -11,11 +11,10 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly $defaults = array( 'id' => null, - 'performance' => array(), 'icontag' => 'dt', 'captiontag' => 'dd', 'caption' => null, - 'size' => 'gallery', + 'size' => 'medium', 'link_posts' => get_option( 'sportspress_link_players', 'yes' ) == 'yes' ? true : false, ); @@ -33,9 +32,6 @@ if ( $captiontag && $caption ) if ( $link_posts ) $caption = '' . $caption . ''; -if ( isset( $limit ) && $i >= $limit ) - continue; - if ( has_post_thumbnail( $id ) ) $thumbnail = get_the_post_thumbnail( $id, $size ); else