From 1f9ab06757557752f637af78ea560f033b0f391d Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 12 May 2014 11:22:54 +1000 Subject: [PATCH] Link event blocks team logos to team pages --- templates/event-blocks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/event-blocks.php b/templates/event-blocks.php index eda416b7..a458811b 100644 --- a/templates/event-blocks.php +++ b/templates/event-blocks.php @@ -57,7 +57,7 @@ if ( isset( $columns ) ) if ( ! has_post_thumbnail ( $team ) ) continue; $j++; - $logo = get_the_post_thumbnail( $team, 'sportspress-fit-icon', array( 'class' => 'team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) ) ); + $logo = '' . get_the_post_thumbnail( $team, 'sportspress-fit-icon', array( 'class' => 'team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) ) ) . ''; $logos[] = $logo; $team_results = sp_array_value( $results, $team, null );