add blocks cache
This commit is contained in:
@@ -10,9 +10,9 @@ $curr_post = get_post( $id );?>
|
||||
<?if ( has_post_thumbnail($curr_post->ID) ) :?>
|
||||
<div class="mini-card-img">
|
||||
<a href="<?the_permalink($curr_post->ID);?>"><img class="mini-card-img" src="<?php echo get_the_post_thumbnail_url($curr_post->ID); ?>" alt="<?=$curr_post->post_title;?>">
|
||||
<?if( has_tag( 'видео' ) ):?>
|
||||
<span class="play-card"></span>
|
||||
<?endif?>
|
||||
<?//if( has_tag( 'видео' ) ):
|
||||
// echo '<span class="play-card"></span>';
|
||||
//endif?>
|
||||
</a>
|
||||
</div>
|
||||
<?endif?>
|
||||
|
||||
Reference in New Issue
Block a user