Separate logo section in event settings
This commit is contained in:
@@ -123,23 +123,6 @@ class SP_Settings_Events extends SP_Settings_Page {
|
||||
|
||||
array( 'type' => 'delimiter' ),
|
||||
|
||||
array(
|
||||
'title' => __( 'Logos', 'sportspress' ),
|
||||
'desc' => __( 'Display team names', 'sportspress' ),
|
||||
'id' => 'sportspress_event_logos_show_team_names',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => 'start',
|
||||
),
|
||||
|
||||
array(
|
||||
'desc' => __( 'Display results', 'sportspress' ),
|
||||
'id' => 'sportspress_event_logos_show_results',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => 'end',
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Teams', 'sportspress' ),
|
||||
'desc' => __( 'Filter by competition', 'sportspress' ),
|
||||
@@ -238,6 +221,33 @@ class SP_Settings_Events extends SP_Settings_Page {
|
||||
array( 'type' => 'sectionend', 'id' => 'venue_options' ),
|
||||
),
|
||||
|
||||
array(
|
||||
array( 'title' => __( 'Logos', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'event_logo_options' ),
|
||||
),
|
||||
|
||||
apply_filters( 'sportspress_event_logo_options', array(
|
||||
array(
|
||||
'title' => __( 'Display', 'sportspress' ),
|
||||
'desc' => __( 'Display team names', 'sportspress' ),
|
||||
'id' => 'sportspress_event_logos_show_team_names',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => 'start',
|
||||
),
|
||||
|
||||
array(
|
||||
'desc' => __( 'Display results', 'sportspress' ),
|
||||
'id' => 'sportspress_event_logos_show_results',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'checkboxgroup' => 'end',
|
||||
),
|
||||
) ),
|
||||
|
||||
array(
|
||||
array( 'type' => 'sectionend', 'id' => 'event_logo_options' ),
|
||||
),
|
||||
|
||||
array(
|
||||
array( 'title' => __( 'Event Results', 'sportspress' ), 'type' => 'title', 'desc' => '', 'id' => 'result_options' ),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user