Add classes to player group labels

This commit is contained in:
Brian Miyaji
2014-05-11 03:44:07 +10:00
parent 4cffef9b60
commit d8383099de
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ foreach ( $groups as $group ):
if ( ! empty( $group->name ) ):
echo '<a name="group-' . $group->slug . '" id="group-' . $group->slug . '"></a>';
echo '<h3 class="player-group-name">' . $group->name . '</h3>';
echo '<h3 class="player-group-name player-gallery-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 ) ):

View File

@@ -67,7 +67,7 @@ $output = '';
foreach ( $groups as $group ):
if ( ! empty( $group->name ) ):
$output .= '<a name="group-' . $group->slug . '" id="group-' . $group->slug . '"></a>';
$output .= '<h3 class="player-group-name">' . $group->name . '</h3>';
$output .= '<h3 class="sp-table-caption player-group-name player-list-group-name">' . $group->name . '</h3>';
endif;
$output .= '<div class="sp-table-wrapper sp-scrollable-table-wrapper">' .