Add medium crop image size to ensure gallery images are square

This commit is contained in:
Brian Miyaji
2016-01-08 19:15:26 +11:00
parent 13f78b9815
commit 571ea53ea3
5 changed files with 5 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ if ( ! isset( $id ) )
if ( has_post_thumbnail( $id ) ):
?>
<div class="sp-template sp-template-staff-photo sp-template-photo sp-staff-photo">
<?php echo get_the_post_thumbnail( $id, 'medium' ); ?>
<?php echo get_the_post_thumbnail( $id, 'sportspress-fit-medium' ); ?>
</div>
<?php
endif;