new size preview

This commit is contained in:
arlemp@selectel.ru
2021-11-07 22:43:07 +03:00
parent 8a81ddedba
commit 172d34dfe3
5 changed files with 25 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ if ( $q->have_posts() ) :
<?if ( has_post_thumbnail() ) :?>
<div class="card-img-top">
<a href="<?the_permalink();?>"><img src="<?php echo get_the_post_thumbnail_url(null, 'full'); ?>" alt="<?the_title();?>"></a>
<a href="<?the_permalink();?>"><img src="<?php echo get_the_post_thumbnail_url(null, 'moread'); ?>" alt="<?the_title();?>"></a>
</div>
<?endif?>