Add option to display outcomes in event results
This commit is contained in:
@@ -60,6 +60,14 @@ class SP_Settings_Events extends SP_Settings_Page {
|
||||
'checkboxgroup' => 'end',
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Results', 'sportspress' ),
|
||||
'desc' => __( 'Display outcomes', 'sportspress' ),
|
||||
'id' => 'sportspress_event_show_outcomes',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Player Performance', 'sportspress' ),
|
||||
'desc' => __( 'Link players', 'sportspress' ),
|
||||
|
||||
@@ -3216,6 +3216,7 @@ function sp_get_text_options() {
|
||||
'event' => __( 'Event', 'sportspress' ),
|
||||
'league' => __( 'League', 'sportspress' ),
|
||||
'nationality' => __( 'Nationality', 'sportspress' ),
|
||||
'outcome' => __( 'Outcome', 'sportspress' ),
|
||||
'past_teams' => __( 'Past Teams', 'sportspress' ),
|
||||
'played' => __( 'Played', 'sportspress' ),
|
||||
'player' => __( 'Player', 'sportspress' ),
|
||||
|
||||
Reference in New Issue
Block a user