Put DoB column at the end

This commit is contained in:
savvasha
2019-09-13 07:05:43 +03:00
parent 6559c67f84
commit 26795db815
2 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
DoB,Number,Name,Positions,Teams,Leagues,Seasons,Nationality
1983/05/05,1,Joe Allen,Goalkeeper,Eagles,Primary League|Secondary League,2014,aus
1970/03/10,3,Steven Gerrard,Defender,Kangaroos,Primary League,2014|2013,usa
1990/02/15,5,Daniel Sturridge,Midfielder|Forward,Sharks,Primary League|Secondary League,2014|2013,eng
1987/01/20,6,Gabrielle Gonzalez,Forward,Kangaroos|Sharks,Primary League,2014,esp
Number,Name,Positions,Teams,Leagues,Seasons,Nationality,DoB
1,Joe Allen,Goalkeeper,Eagles,Primary League|Secondary League,2014,aus,1983/05/05
3,Steven Gerrard,Defender,Kangaroos,Primary League,2014|2013,usa,1970/03/10
5,Daniel Sturridge,Midfielder|Forward,Sharks,Primary League|Secondary League,2014|2013,eng,1990/02/15
6,Gabrielle Gonzalez,Forward,Kangaroos|Sharks,Primary League,2014,esp,1987/01/20
1 Number Name Positions Teams Leagues Seasons Nationality DoB
2 1 Joe Allen Goalkeeper Eagles Primary League|Secondary League 2014 aus 1983/05/05
3 3 Steven Gerrard Defender Kangaroos Primary League 2014|2013 usa 1970/03/10
4 5 Daniel Sturridge Midfielder|Forward Sharks Primary League|Secondary League 2014|2013 eng 1990/02/15
5 6 Gabrielle Gonzalez Forward Kangaroos|Sharks Primary League 2014 esp 1987/01/20

View File

@@ -23,7 +23,6 @@ if ( class_exists( 'WP_Importer' ) ) {
$this->import_page = 'sp_player_csv';
$this->import_label = __( 'Import Players', 'sportspress' );
$this->columns = array(
'post_date' => __( 'Date of Birth', 'sportspress' ),
'sp_number' => __( 'Squad Number', 'sportspress' ),
'post_title' => __( 'Name', 'sportspress' ),
'sp_position' => __( 'Positions', 'sportspress' ),
@@ -31,6 +30,7 @@ if ( class_exists( 'WP_Importer' ) ) {
'sp_league' => __( 'Leagues', 'sportspress' ),
'sp_season' => __( 'Seasons', 'sportspress' ),
'sp_nationality' => __( 'Nationality', 'sportspress' ),
'post_date' => __( 'Date of Birth', 'sportspress' ),
);
parent::__construct();
}