From bc8568fd20af24a5935ef656bc9507681da3fd9c Mon Sep 17 00:00:00 2001 From: Nabil Kadimi Date: Mon, 23 Sep 2019 06:44:34 +0100 Subject: [PATCH] Fix multiple linked venues separator in team details --- templates/team-details.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/team-details.php b/templates/team-details.php index b0598e28..96abe754 100644 --- a/templates/team-details.php +++ b/templates/team-details.php @@ -36,7 +36,7 @@ endif; $terms = get_the_terms( $id, 'sp_venue' ); if ( $terms ): if ( get_option( 'sportspress_team_link_venues', 'no' ) === 'yes' ): - $data[ __( 'Home', 'sportspress' ) ] = get_the_term_list( $id, 'sp_venue' ); + $data[ __( 'Home', 'sportspress' ) ] = get_the_term_list( $id, 'sp_venue', '', ', ' ); else: $venues = array(); foreach ( $terms as $term ): @@ -59,4 +59,4 @@ $output .= ''; ?>
-
\ No newline at end of file +