Put DoB column at the end
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
DoB,Number,Name,Positions,Teams,Leagues,Seasons,Nationality
|
Number,Name,Positions,Teams,Leagues,Seasons,Nationality,DoB
|
||||||
1983/05/05,1,Joe Allen,Goalkeeper,Eagles,Primary League|Secondary League,2014,aus
|
1,Joe Allen,Goalkeeper,Eagles,Primary League|Secondary League,2014,aus,1983/05/05
|
||||||
1970/03/10,3,Steven Gerrard,Defender,Kangaroos,Primary League,2014|2013,usa
|
3,Steven Gerrard,Defender,Kangaroos,Primary League,2014|2013,usa,1970/03/10
|
||||||
1990/02/15,5,Daniel Sturridge,Midfielder|Forward,Sharks,Primary League|Secondary League,2014|2013,eng
|
5,Daniel Sturridge,Midfielder|Forward,Sharks,Primary League|Secondary League,2014|2013,eng,1990/02/15
|
||||||
1987/01/20,6,Gabrielle Gonzalez,Forward,Kangaroos|Sharks,Primary League,2014,esp
|
6,Gabrielle Gonzalez,Forward,Kangaroos|Sharks,Primary League,2014,esp,1987/01/20
|
||||||
|
@@ -23,7 +23,6 @@ if ( class_exists( 'WP_Importer' ) ) {
|
|||||||
$this->import_page = 'sp_player_csv';
|
$this->import_page = 'sp_player_csv';
|
||||||
$this->import_label = __( 'Import Players', 'sportspress' );
|
$this->import_label = __( 'Import Players', 'sportspress' );
|
||||||
$this->columns = array(
|
$this->columns = array(
|
||||||
'post_date' => __( 'Date of Birth', 'sportspress' ),
|
|
||||||
'sp_number' => __( 'Squad Number', 'sportspress' ),
|
'sp_number' => __( 'Squad Number', 'sportspress' ),
|
||||||
'post_title' => __( 'Name', 'sportspress' ),
|
'post_title' => __( 'Name', 'sportspress' ),
|
||||||
'sp_position' => __( 'Positions', 'sportspress' ),
|
'sp_position' => __( 'Positions', 'sportspress' ),
|
||||||
@@ -31,6 +30,7 @@ if ( class_exists( 'WP_Importer' ) ) {
|
|||||||
'sp_league' => __( 'Leagues', 'sportspress' ),
|
'sp_league' => __( 'Leagues', 'sportspress' ),
|
||||||
'sp_season' => __( 'Seasons', 'sportspress' ),
|
'sp_season' => __( 'Seasons', 'sportspress' ),
|
||||||
'sp_nationality' => __( 'Nationality', 'sportspress' ),
|
'sp_nationality' => __( 'Nationality', 'sportspress' ),
|
||||||
|
'post_date' => __( 'Date of Birth', 'sportspress' ),
|
||||||
);
|
);
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user