Add date and time option to events

This commit is contained in:
Brian Miyaji
2016-02-17 03:36:00 +11:00
parent 73f9584b29
commit df1eaf9ad7
2 changed files with 27 additions and 3 deletions

View File

@@ -63,6 +63,20 @@ class SP_Settings_Events extends SP_Settings_Page {
'type' => 'checkbox',
'checkboxgroup' => 'start',
),
array(
'desc' => __( 'Date', 'sportspress' ),
'id' => 'sportspress_event_show_date',
'default' => 'yes',
'type' => 'checkbox',
'checkboxgroup' => '',
),
array(
'desc' => __( 'Time', 'sportspress' ),
'id' => 'sportspress_event_show_time',
'default' => 'yes',
'type' => 'checkbox',
'checkboxgroup' => '',
),
array(
'desc' => __( 'Results', 'sportspress' ),
'id' => 'sportspress_event_show_results',