From c996b3f082b665278fdf46a43226f8cd555f4f15 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Tue, 11 Nov 2014 09:45:48 +1100 Subject: [PATCH] Display photo in player details shortcode --- includes/shortcodes/class-sp-shortcode-player-details.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/shortcodes/class-sp-shortcode-player-details.php b/includes/shortcodes/class-sp-shortcode-player-details.php index 0f1b9efb..c9df6492 100644 --- a/includes/shortcodes/class-sp-shortcode-player-details.php +++ b/includes/shortcodes/class-sp-shortcode-player-details.php @@ -5,7 +5,7 @@ * @author ThemeBoy * @category Shortcodes * @package SportsPress/Shortcodes/Player_Details - * @version 1.2 + * @version 1.4.7 */ class SP_Shortcode_Player_Details { @@ -19,6 +19,7 @@ class SP_Shortcode_Player_Details { if ( ! isset( $atts['id'] ) && isset( $atts[0] ) && is_numeric( $atts[0] ) ) $atts['id'] = $atts[0]; + sp_get_template( 'player-photo.php', $atts ); sp_get_template( 'player-details.php', $atts ); } }