Rename player performance table template
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Player League Performance
|
* Player Performance Table
|
||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
@@ -17,7 +17,7 @@ $leagues = get_the_terms( $id, 'sp_league' );
|
|||||||
// Loop through performance for each league
|
// Loop through performance for each league
|
||||||
if ( is_array( $leagues ) ):
|
if ( is_array( $leagues ) ):
|
||||||
foreach ( $leagues as $league ):
|
foreach ( $leagues as $league ):
|
||||||
sp_get_template( 'player-league-performance.php', array(
|
sp_get_template( 'player-performance-table.php', array(
|
||||||
'league' => $league
|
'league' => $league
|
||||||
) );
|
) );
|
||||||
endforeach;
|
endforeach;
|
||||||
|
|||||||
Reference in New Issue
Block a user