Files
toppic/formats/single-post/standard-single.php
2024-04-06 11:45:36 +02:00

16 lines
389 B
PHP

<!--start image -->
<?php if(has_post_thumbnail()): ?>
<div class="blog-thumb">
<?php if (get_option('toppic_theme_blog_sidebar') !== 'full') {
$image_size = 'medium_large';
} else {
$image_size = 'large';
}; ?>
<?php echo get_the_post_thumbnail( get_the_id(), $image_size, array( 'data-lazy-load' => 0 ) ); ?>
</div>
<?php endif ?>
<!--end image -->