Fix widget outputs

This commit is contained in:
Brian Miyaji
2014-03-25 20:36:57 +11:00
parent 47db92c98e
commit f1f3f1252d
5 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ class SP_Widget_Player_Gallery extends WP_Widget {
if ( $title )
echo $before_title . $title . $after_title;
echo '<div id="sp_player_gallery_wrap">';
echo sportspress_player_gallery( $id, array( 'number' => $number, 'orderby' => $orderby , 'order' => $order, 'show_all_players_link' => $show_all_players_link, 'show_names_on_hover' => $show_names_on_hover ) );
sp_get_template( 'player-gallery.php', array( 'id' => $id, 'number' => $number, 'orderby' => $orderby , 'order' => $order, 'show_all_players_link' => $show_all_players_link, 'show_names_on_hover' => $show_names_on_hover ) );
echo '</div>';
echo $after_widget;
}