Leave wp post image class in image tag

This commit is contained in:
Brian Miyaji
2014-05-05 22:41:09 +10:00
parent b4d241bfc9
commit ba7946104a

View File

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