HEX
Server: Apache/2.4.62 (Debian)
System: Linux plxsite 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64
User: root (0)
PHP: 8.1.30
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/polygant_2025/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 &nbsp;</span><span class="rubread">Обновлено &nbsp; </span>
                          
                          <?php

    the_modified_date(' j F Y'); 
    
    ?>
                    </span>   
                          <?php
    }
    else {

    the_date('j F Y');
        
        ?>
                          <span > <span class="enbread">Updated on &nbsp;</span><span class="rubread">Обновлено &nbsp; </span>
                          
                          <?php

    the_modified_date(' j F Y'); 
    
    ?>
                    </span>   
                          <?php
    }
?></div>

    
</div>