diff --git a/includes/admin/settings/class-sp-settings-events.php b/includes/admin/settings/class-sp-settings-events.php index a254deb9..2c5cce72 100644 --- a/includes/admin/settings/class-sp-settings-events.php +++ b/includes/admin/settings/class-sp-settings-events.php @@ -393,7 +393,11 @@ class SP_Settings_Events extends SP_Settings_Page { public function delimiter_setting() { $selection = get_option( 'sportspress_event_teams_delimiter', 'vs' ); $limit = get_option( 'sportspress_event_teams', 2 ); - $example = str_repeat( __( 'Team', 'sportspress' ) . ' %1$s ', $limit ); + if ( 3 >= $limit ) { + $example = str_repeat( __( 'Team', 'sportspress' ) . ' %1$s ', $limit ); + } else { + $example = str_repeat( __( 'Team', 'sportspress' ) . ' %1$s ', 3 ) . '…'; + } $example = rtrim( $example, ' %1$s ' ); ?>