Add full time minutes to events

This commit is contained in:
Brian Miyaji
2014-08-25 00:20:27 +10:00
parent 8320a9f85c
commit d6f185b4fd
6 changed files with 61 additions and 31 deletions

View File

@@ -126,6 +126,19 @@ class SP_Settings_Events extends SP_Settings_Page {
'type' => 'checkbox',
'checkboxgroup' => 'start',
),
array(
'title' => __( 'Full Time', 'sportspress' ),
'id' => 'sportspress_event_minutes',
'class' => 'small-text',
'default' => '90',
'desc' => __( 'mins', 'sportspress' ),
'type' => 'number',
'custom_attributes' => array(
'min' => 0,
'step' => 1
),
),
array( 'type' => 'sectionend', 'id' => 'event_options' ),