Enable comments in event articles setting
This commit is contained in:
@@ -50,7 +50,7 @@ class SP_Settings_Events extends SP_Settings_Page {
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Display', 'sportspress' ),
|
||||
'title' => __( 'Templates', 'sportspress' ),
|
||||
'desc' => __( 'Logos', 'sportspress' ),
|
||||
'id' => 'sportspress_event_show_logos',
|
||||
'default' => 'yes',
|
||||
@@ -162,6 +162,15 @@ class SP_Settings_Events extends SP_Settings_Page {
|
||||
),
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Comments', 'sportspress' ),
|
||||
'desc' => __( 'Allow people to post comments on new articles', 'sportspress' ),
|
||||
'id' => 'sportspress_event_comment_status',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
'desc_tip' => __( 'These settings may be overridden for individual articles.', 'sportspress' ),
|
||||
),
|
||||
|
||||
array( 'type' => 'sectionend', 'id' => 'event_options' ),
|
||||
|
||||
array( 'title' => __( 'Event List', 'sportspress' ), 'type' => 'title', 'id' => 'event_list_options' ),
|
||||
|
||||
@@ -47,7 +47,7 @@ class SP_Settings_Players extends SP_Settings_Page {
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Display', 'sportspress' ),
|
||||
'title' => __( 'Templates', 'sportspress' ),
|
||||
'desc' => __( 'Photo', 'sportspress' ),
|
||||
'id' => 'sportspress_player_show_photo',
|
||||
'default' => 'yes',
|
||||
|
||||
@@ -49,7 +49,7 @@ class SP_Settings_Staff extends SP_Settings_Page {
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Display', 'sportspress' ),
|
||||
'title' => __( 'Templates', 'sportspress' ),
|
||||
'desc' => __( 'Photo', 'sportspress' ),
|
||||
'id' => 'sportspress_staff_show_photo',
|
||||
'default' => 'yes',
|
||||
|
||||
@@ -49,7 +49,7 @@ class SP_Settings_Teams extends SP_Settings_Page {
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Display', 'sportspress' ),
|
||||
'title' => __( 'Templates', 'sportspress' ),
|
||||
'desc' => __( 'Logo', 'sportspress' ),
|
||||
'id' => 'sportspress_team_show_logo',
|
||||
'default' => 'yes',
|
||||
|
||||
Reference in New Issue
Block a user