echo player group names instead of add to output
This commit is contained in:
@@ -109,8 +109,8 @@ foreach ( $groups as $group ):
|
||||
$i = 0;
|
||||
|
||||
if ( ! empty( $group->name ) ):
|
||||
$output .= '<a name="group-' . $group->slug . '" id="group-' . $group->slug . '"></a>';
|
||||
$output .= '<h3 class="player-group-name">' . $group->name . '</h3>';
|
||||
echo '<a name="group-' . $group->slug . '" id="group-' . $group->slug . '"></a>';
|
||||
echo '<h3 class="player-group-name">' . $group->name . '</h3>';
|
||||
endif;
|
||||
|
||||
foreach( $data as $player_id => $performance ): if ( empty( $group->term_id ) || has_term( $group->term_id, 'sp_position', $player_id ) ):
|
||||
|
||||
Reference in New Issue
Block a user