File: /var/www/html/wp-content/themes/polygant_2023/template-parts/extra-post-meta.php
<div class="info-page_meta_wrapper">
<div class="info-page_meta_autor-image"><?php echo get_avatar( get_the_author_meta('user_email') ); ?></div>
<div class="info-page_meta_autor-name">
<?php
$auth_id = get_the_author_ID();
$acf_id ='user_'.$auth_id;
$aut_name = get_field( "aut_display_name_rus", $acf_id );
$aut_link = get_author_posts_url($auth_id);
?>
<a href="<?php echo $aut_link; ?>">
<div class="info-page_meta_autor-name-name"><?php echo $aut_name; ?></div>
<div class="info-page_meta_autor-name-descr"><?php the_author_meta( 'description' ); ?></div>
</a>
</div>
<div class="info-page_meta_about-article"><?php
if (strtotime(get_the_date('Ymd'))<strtotime(get_the_modified_date('j F Y '))) {
the_date('j F Y');
?>
<span > <span class="enbread">Updated on </span><span class="rubread">Обновлено </span>
<?php
the_modified_date(' j F Y');
?>
</span>
<?php
}
else {
the_date('j F Y');
?>
<span > <span class="enbread">Updated on </span><span class="rubread">Обновлено </span>
<?php
the_modified_date(' j F Y');
?>
</span>
<?php
}
?></div>
</div>