Current path: home/webdevt/www/wdp/wp-content/themes/quadric/framework/modules/blog/templates/lists/post-formats/
?? Go up: /home/webdevt/www/wdp/wp-content/themes/quadric/framework/modules/blog/templates/lists
<?php
$background_style = array();
if(has_post_thumbnail()){
$post_thumbnail_id = get_post_thumbnail_id(get_the_ID());
$background_image_object = edgtf_quadric_resize_image($post_thumbnail_id, '', 1100, 400);
$background_image_src = $background_image_object['img_url'];
$background_style[] = 'background-image:url('.$background_image_src.');';
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="edgtf-post-content">
<div class="edgtf-post-text" <?php echo edgtf_quadric_get_inline_style($background_style) ?>>
<?php edgtf_quadric_get_module_template_part('templates/parts/top-date', 'blog'); ?>
<div class="edgtf-post-text-inner">
<div class="edgtf-post-mark">
<span class="icon_quotations edgtf-quote-mark"></span>
</div>
<div class="edgtf-post-title-holder">
<<?php echo esc_attr($title_tag); ?> class="edgtf-post-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php echo esc_html(get_post_meta(get_the_ID(), "edgtf_post_quote_text_meta", true)); ?></a>
</<?php echo esc_attr($title_tag); ?>>
<span class="edgtf-quote-author">— <?php the_title(); ?></span>
</div>
</div>
</div>
<?php if($share != 'no' && $like != 'no' && $print != 'no') {?>
<div class="edgtf-post-info edgtf-post-info-bottom">
<?php edgtf_quadric_post_info(array('share' => $share, 'like' => $like, 'print' => $print)) ?>
</div>
<?php } ?>
</div>
</article>