Adjust custom post list column labels

This commit is contained in:
Brian Miyaji
2014-03-08 23:33:50 +11:00
parent 8d561f5639
commit dfd4ff7904
6 changed files with 16 additions and 12 deletions

View File

@@ -214,7 +214,7 @@ function sportspress_event_edit_columns() {
'sp_league' => __( 'League', 'sportspress' ),
'sp_season' => __( 'Season', 'sportspress' ),
'sp_venue' => __( 'Venue', 'sportspress' ),
'sp_datetime' => __( 'Date/Time', 'sportspress' ),
'sp_datetime' => '<span class="dashicons dashicons-calendar" title="' . __( 'Date/Time', 'sportspress' ) . '"></span>',
'sp_views' => __( 'Views', 'sportspress' ),
);
return $columns;

View File

@@ -32,8 +32,8 @@ add_action( 'init', 'sportspress_player_post_init' );
function sportspress_player_edit_columns() {
$columns = array(
'cb' => '<input type="checkbox" />',
'sp_icon' => '&nbsp;',
'title' => __( 'Name', 'sportspress' ),
'sp_number' => '<span class="sp-icon-tshirt" title="' . __( 'Number', 'sportspress' ) . '"></span>',
'title' => __( 'Player', 'sportspress' ),
'sp_position' => __( 'Positions', 'sportspress' ),
'sp_team' => __( 'Teams', 'sportspress' ),
'sp_league' => __( 'Leagues', 'sportspress' ),

View File

@@ -45,7 +45,7 @@ function sportspress_staff_profile_meta( $post ) {
function sportspress_staff_edit_columns() {
$columns = array(
'cb' => '<input type="checkbox" />',
'sp_icon' => '&nbsp;',
'sp_icon' => '<span class="dashicons dashicons-businessman" title="' . __( 'Staff', 'sportspress' ) . '"></span>',
'title' => __( 'Name', 'sportspress' ),
'sp_position' => __( 'Positions', 'sportspress' ),
'sp_team' => __( 'Teams', 'sportspress' ),

View File

@@ -40,7 +40,7 @@ function sportspress_team_meta_init( $post ) {
function sportspress_team_edit_columns() {
$columns = array(
'cb' => '<input type="checkbox" />',
'sp_icon' => '&nbsp;',
'sp_icon' => '<span class="sp-icon-shield" title="' . __( 'Logo', 'sportspress' ) . '"></span>',
'title' => __( 'Team', 'sportspress' ),
'sp_league' => __( 'Leagues', 'sportspress' ),
'sp_season' => __( 'Seasons', 'sportspress' ),