Merge pull request #357 from kadimi/patch-21
Fix multiple linked venues separator in team details
This commit is contained in:
@@ -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 ):
|
||||
|
||||
Reference in New Issue
Block a user