1st commit
This commit is contained in:
16
formats/single-post/standard-single.php
Normal file
16
formats/single-post/standard-single.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<!--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 -->
|
||||
Reference in New Issue
Block a user