League => Competition
This commit is contained in:
@@ -475,7 +475,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label><?php _e( 'League', 'sportspress' ); ?></label><br/></th>
|
||||
<th scope="row"><label><?php _e( 'Competition', 'sportspress' ); ?></label><br/></th>
|
||||
<td><?php
|
||||
$args = array(
|
||||
'taxonomy' => 'sp_league',
|
||||
|
||||
@@ -27,7 +27,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
'post_title' => __( 'Name', 'sportspress' ),
|
||||
'sp_position' => __( 'Positions', 'sportspress' ),
|
||||
'sp_team' => __( 'Teams', 'sportspress' ),
|
||||
'sp_league' => __( 'Leagues', 'sportspress' ),
|
||||
'sp_league' => __( 'Competitions', 'sportspress' ),
|
||||
'sp_season' => __( 'Seasons', 'sportspress' ),
|
||||
'sp_nationality' => __( 'Nationality', 'sportspress' ),
|
||||
);
|
||||
|
||||
@@ -26,7 +26,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
'post_title' => __( 'Name', 'sportspress' ),
|
||||
'sp_role' => __( 'Roles', 'sportspress' ),
|
||||
'sp_team' => __( 'Teams', 'sportspress' ),
|
||||
'sp_league' => __( 'Leagues', 'sportspress' ),
|
||||
'sp_league' => __( 'Competitions', 'sportspress' ),
|
||||
'sp_season' => __( 'Seasons', 'sportspress' ),
|
||||
'sp_nationality' => __( 'Nationality', 'sportspress' ),
|
||||
);
|
||||
|
||||
@@ -24,7 +24,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
||||
$this->import_label = __( 'Import Teams', 'sportspress' );
|
||||
$this->columns = array(
|
||||
'post_title' => __( 'Name', 'sportspress' ),
|
||||
'sp_league' => __( 'Leagues', 'sportspress' ),
|
||||
'sp_league' => __( 'Competitions', 'sportspress' ),
|
||||
'sp_season' => __( 'Seasons', 'sportspress' ),
|
||||
'sp_url' => __( 'Site URL', 'sportspress' ),
|
||||
'sp_abbreviation' => __( 'Abbreviation', 'sportspress' ),
|
||||
|
||||
Reference in New Issue
Block a user