Prevent auto grouping player gallery

This commit is contained in:
Brian Miyaji
2014-05-12 07:31:42 +10:00
parent 1a703a745f
commit c09ba720af

View File

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