add author

This commit is contained in:
argoexpert press
2025-02-26 20:30:02 +03:00
parent ec987eb1be
commit c972398238
2 changed files with 27 additions and 1 deletions

View File

@@ -31,7 +31,8 @@
<?php if ( $author AND $author->display_name !== 'agroexpert.press' AND $author->display_name !== 'Анна Купровская') : ?>
<div class="article-author">
<div class="article-author__name">
<?= $author->display_name; ?><br>
<a href="<?= get_author_posts_url($author->ID); ?>">
<?= $author->display_name; ?></a><br>
<? if ( $author->description !== '' ):?>
<?=$author->description?>
<?endif?>