Adjust custom post list column labels
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -32,8 +32,8 @@ add_action( 'init', 'sportspress_player_post_init' );
|
||||
function sportspress_player_edit_columns() {
|
||||
$columns = array(
|
||||
'cb' => '<input type="checkbox" />',
|
||||
'sp_icon' => ' ',
|
||||
'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' ),
|
||||
|
||||
@@ -45,7 +45,7 @@ function sportspress_staff_profile_meta( $post ) {
|
||||
function sportspress_staff_edit_columns() {
|
||||
$columns = array(
|
||||
'cb' => '<input type="checkbox" />',
|
||||
'sp_icon' => ' ',
|
||||
'sp_icon' => '<span class="dashicons dashicons-businessman" title="' . __( 'Staff', 'sportspress' ) . '"></span>',
|
||||
'title' => __( 'Name', 'sportspress' ),
|
||||
'sp_position' => __( 'Positions', 'sportspress' ),
|
||||
'sp_team' => __( 'Teams', 'sportspress' ),
|
||||
|
||||
@@ -40,7 +40,7 @@ function sportspress_team_meta_init( $post ) {
|
||||
function sportspress_team_edit_columns() {
|
||||
$columns = array(
|
||||
'cb' => '<input type="checkbox" />',
|
||||
'sp_icon' => ' ',
|
||||
'sp_icon' => '<span class="sp-icon-shield" title="' . __( 'Logo', 'sportspress' ) . '"></span>',
|
||||
'title' => __( 'Team', 'sportspress' ),
|
||||
'sp_league' => __( 'Leagues', 'sportspress' ),
|
||||
'sp_season' => __( 'Seasons', 'sportspress' ),
|
||||
|
||||
Reference in New Issue
Block a user