Define main SportsPress class

This commit is contained in:
Brian Miyaji
2014-03-25 00:19:34 +11:00
parent 6e778ad40c
commit 6db3e82d66
16 changed files with 357 additions and 168 deletions

View File

@@ -242,7 +242,7 @@ if ( class_exists( 'WP_Importer' ) ) {
echo '<div class="narrow">';
echo '<p>' . __( 'Hi there! Choose a .csv file to upload, then click "Upload file and import".', 'sportspress' ).'</p>';
echo '<p>' . sprintf( __( 'Teams need to be defined with columns in a specific order (3 columns). <a href="%s">Click here to download a sample</a>.', 'sportspress' ), SPORTSPRESS_PLUGIN_URL . 'dummy-data/teams-sample.csv' ) . '</p>';
echo '<p>' . sprintf( __( 'Teams need to be defined with columns in a specific order (3 columns). <a href="%s">Click here to download a sample</a>.', 'sportspress' ), plugin_dir_url( SP_PLUGIN_FILE ) . 'dummy-data/teams-sample.csv' ) . '</p>';
$action = 'admin.php?import=sportspress_team_csv&step=1';