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

@@ -48,7 +48,7 @@ $nn = 0;?>
<div class="mini-card">
<?if ( has_post_thumbnail() ) :?>
<div class="mini-card-img">
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'large'); ?>" alt="<?the_title();?>"></a>
<a href="<?the_permalink();?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url(null, 'moread'); ?>" alt="<?the_title();?>"></a>
<?if( has_tag( 'видео' ) ):?>
<span class="play-card"></span>
<?endif?>