25 lines
		
	
	
		
			818 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			818 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
$post_link = get_permalink();
 | 
						|
$post_tags = get_the_tags();
 | 
						|
$post_title = get_the_title();
 | 
						|
?>
 | 
						|
<li class="latest-articles__item">
 | 
						|
	<a href="<?= $post_link ?>" class="readingnow-post__container">
 | 
						|
		<article class="readingnow-post__body">
 | 
						|
			<p class="readingnow-post__heading"><?= $post_title ?></p>
 | 
						|
			<div class="readingnow-post__tags">
 | 
						|
				<div class="readingnow-post_avatar">
 | 
						|
					<img src="<?= get_avatar_url(get_the_author_meta('ID')); ?>" alt="">
 | 
						|
				</div>
 | 
						|
				<div class="article-card-author"><?= get_the_author($post); ?></div>
 | 
						|
				<div class="article-card-date"><?= get_the_date('d.m.Y', $post); ?></div>
 | 
						|
				<div class="spacer"></div>
 | 
						|
				<?php
 | 
						|
														if ( shortcode_exists( 'epvc_views' ) ) {
 | 
						|
   											echo do_shortcode('[epvc_views]');
 | 
						|
										}
 | 
						|
				?>
 | 
						|
			</div>
 | 
						|
		</article>
 | 
						|
	</a>
 | 
						|
</li>
 |