<?php if (($single_post_featured_image_position == 'behind-title' || $single_post_featured_image_position == 'behind-title-fullwidth') && $show_post_excerpt) { ?> <?php xt_post_excerpt('h3', 'subheader image-behind-title'); ?> <?php } ?> <?php if ($single_post_featured_image_position == 'above-content') { ?> <?php xt_post_featured_media(); ?> <?php } ?> <?php xt_post_content(); ?> <div class="<?php echo xt_smart_sidebar_has('social-share') ? 'show-for-small' : ''; ?> "> <?php $xtss_box = xt_socialshare();
function renderThumb($size = 'th-medium') { $format = get_post_format(); if ($format == 'video' && !empty($this->instance["embed_video"])) { xt_post_featured_media(); } else { xt_post_thumbnail($size, true, $this->instance["thumbnails_filter"]); } }