diff --git a/templates/league-table.php b/templates/league-table.php index 9d77353d..923774c1 100644 --- a/templates/league-table.php +++ b/templates/league-table.php @@ -77,7 +77,7 @@ foreach( $data as $team_id => $row ): if ( $show_team_logo ): $logo = get_the_post_thumbnail( $team_id, 'sportspress-fit-icon', array( 'class' => 'team-logo' ) ); - $name = str_replace( 'wp-post-image', '', $logo ) . ' ' . $name; + $name = $logo . ' ' . $name; endif; if ( $link_posts ):