Start league table pos at 1
This commit is contained in:
@@ -58,7 +58,7 @@ if ( !function_exists( 'sportspress_league_table' ) ) {
|
|||||||
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . '">';
|
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . '">';
|
||||||
|
|
||||||
// Position as number
|
// Position as number
|
||||||
$output .= '<td class="data-number">' . $i . '</td>';
|
$output .= '<td class="data-number">' . ( $i + 1 ) . '</td>';
|
||||||
|
|
||||||
// Thumbnail and name as link
|
// Thumbnail and name as link
|
||||||
$permalink = get_post_permalink( $team_id );
|
$permalink = get_post_permalink( $team_id );
|
||||||
|
|||||||
Reference in New Issue
Block a user