Prefix row number classes with sp-row-no-
This commit is contained in:
@@ -194,7 +194,7 @@ endif;
|
||||
$teams_output .= '—';
|
||||
endif;
|
||||
|
||||
echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' row-' . $i . '">';
|
||||
echo '<tr class="sp-row sp-post' . ( $i % 2 == 0 ? ' alternate' : '' ) . ' sp-row-no-' . $i . '">';
|
||||
|
||||
$date_html = '<date>' . get_post_time( 'Y-m-d H:i:s', false, $event ) . '</date>' . get_post_time( get_option( 'date_format' ), false, $event, true );
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ foreach ( $data as $team_id => $row ):
|
||||
$td_class = ' sp-highlight';
|
||||
endif;
|
||||
|
||||
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . $tr_class . ' row-no-' . $i . '">';
|
||||
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . $tr_class . ' sp-row-no-' . $i . '">';
|
||||
|
||||
// Rank
|
||||
$output .= '<td class="data-rank' . $td_class . '">' . sp_array_value( $row, 'pos' ) . '</td>';
|
||||
|
||||
Reference in New Issue
Block a user