<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Prinox
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('news-block-two'); ?>>
<div class="inner-box">
<?php if(has_post_thumbnail()):?>
<div class="image">
<a href="<?php the_permalink()?>"><?php the_post_thumbnail('prinox-img-size-6');?></a>
<div class="post-date"><?php echo wp_kses( get_the_date('d'), true ); ?> <br> <?php echo wp_kses( get_the_date('M'), true ); ?></div>
</div>
<?php endif;?>
<div class="lower-content">
<div class="tags">
<?php prinox_entry_footer();?>
</div>
<h3><a href="<?php the_permalink()?>"><?php the_title();?></a></h3>
<ul class="post-meta d-flex align-items-center flex-wrap">
<li>
<span class="author"><?php prinox_author_avatars(26);?></span>
<?php the_author()?>
<?php if(function_exists('prinox_ready_time_ago')){?>
/ <span><?php echo prinox_ready_time_ago();?></span>
<?php }?>
</li>
<li><span class="icon flaticon-bubble-chat"></span><?php echo esc_attr(get_comments_number());?></li>
<li><span class="icon flaticon-clock"></span><?php echo prinox_reading_time();?></li>
</ul>
<div class="text"><?php the_excerpt();?></div>
</div>
</div>
</article><!-- #post-<?php the_ID(); ?> -->