Merge pull request #357 from kadimi/patch-21

Fix multiple linked venues separator in team details
This commit is contained in:
Brian Miyaji
2020-04-09 22:54:07 +10:00
committed by GitHub

View File

@@ -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 ):