Start league table pos at 1

This commit is contained in:
Brian Miyaji
2014-02-09 14:29:05 +11:00
parent 5a141b36c3
commit 08b6111fb2

View File

@@ -58,7 +58,7 @@ if ( !function_exists( 'sportspress_league_table' ) ) {
$output .= '<tr class="' . ( $i % 2 == 0 ? 'odd' : 'even' ) . '">';
// Position as number
$output .= '<td class="data-number">' . $i . '</td>';
$output .= '<td class="data-number">' . ( $i + 1 ) . '</td>';
// Thumbnail and name as link
$permalink = get_post_permalink( $team_id );