<?php

$gposts = get_posts( array(
	'numberposts' => 1,
	'category'    => 3, // 19 - архив газеты
	'orderby'     => 'date',
	'order'       => 'DESC',
	'include'     => array(),
	'exclude'     => array(),
	'meta_key'    => '',
	'meta_value'  =>'',
	'post_type'   => 'post'
) );

# вывод поста
if( $gposts ):

    foreach($gposts as $gpost):
       
    ?>

	<div class="mobile_archive">	
		<a href="<?php the_permalink($gpost->ID); ?>"><img width="91"  class="mobile_archive_img" src="<?php echo get_the_post_thumbnail_url($gpost->ID, 'fil');?>" alt="<?=$gpost->post_title;?>"></a>
   		<div class="mobile_archive_text">
			   <div><strong><a href="<?php the_permalink($gpost->ID); ?>"><?=vij_lang('gazeta', LANG_VERSION);?></a></strong></div>
			   <?if (LANG_VERSION == 'ru'):?>  
			   		<div class="mobile_archive_link"><a href="<?php the_permalink($gpost->ID); ?>"><?=$gpost->post_title;?></a></div>
				<?endif?>	
		</div>
	</div>	
		   

    <?php endforeach;

    

endif;?>

<div class="mob-subscript">
<div class="mob-block-button">
		<a class="mob-sub-button" href="https://vetandlife.ru/subscripts"><?=vij_lang('subscript_btn', LANG_VERSION)?></a>
	</div>
</div>	