Auto-load RTL stylesheet
This commit is contained in:
@@ -64,7 +64,7 @@ if ( isset( $columns ) )
|
||||
$j++;
|
||||
if ( has_post_thumbnail ( $team ) ):
|
||||
if ( $link_teams ):
|
||||
$logo = '<a href="' . get_post_permalink( $team ) . '" title="' . get_the_title( $team ) . '">' . get_the_post_thumbnail( $team, 'sportspress-fit-icon', array( 'class' => 'team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) ) ) . '</a>';
|
||||
$logo = '<a class="team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) . '" href="' . get_post_permalink( $team ) . '" title="' . get_the_title( $team ) . '">' . get_the_post_thumbnail( $team, 'sportspress-fit-icon' ) . '</a>';
|
||||
else:
|
||||
$logo = get_the_post_thumbnail( $team, 'sportspress-fit-icon', array( 'class' => 'team-logo logo-' . ( $j % 2 ? 'odd' : 'even' ) ) );
|
||||
endif;
|
||||
|
||||
Reference in New Issue
Block a user