Display event date and time as separate columns

This commit is contained in:
Brian Miyaji
2014-03-14 12:36:50 +11:00
parent ffc9a9e659
commit 4fdcdaab48
3 changed files with 4 additions and 11 deletions

View File

@@ -243,7 +243,8 @@ function sportspress_event_article_meta( $post ) {
function sportspress_event_edit_columns() {
$columns = array(
'cb' => '<input type="checkbox" />',
'sp_datetime' => '<span class="dashicons sp-icon-calendar tips" title="' . __( 'Date/Time', 'sportspress' ) . '"></span>',
'date' => '<span class="dashicons sp-icon-calendar tips" title="' . __( 'Date', 'sportspress' ) . '"></span>',
'sp_time' => '<span class="dashicons sp-icon-clock tips" title="' . __( 'Time', 'sportspress' ) . '"></span>',
'title' => __( 'Event', 'sportspress' ),
'sp_team' => __( 'Teams', 'sportspress' ),
'sp_league' => __( 'League', 'sportspress' ),