Leave wp post image class in image tag
This commit is contained in:
@@ -77,7 +77,7 @@ foreach( $data as $team_id => $row ):
|
|||||||
|
|
||||||
if ( $show_team_logo ):
|
if ( $show_team_logo ):
|
||||||
$logo = get_the_post_thumbnail( $team_id, 'sportspress-fit-icon', array( 'class' => '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;
|
endif;
|
||||||
|
|
||||||
if ( $link_posts ):
|
if ( $link_posts ):
|
||||||
|
|||||||
Reference in New Issue
Block a user