add default author

This commit is contained in:
argoexpert press
2024-04-07 15:14:11 +03:00
parent 020c0923a3
commit c7667d6c79

View File

@@ -28,7 +28,7 @@
?> ?>
<?php if (!in_category('partners')) : ?> <?php if (!in_category('partners')) : ?>
<?php if ($author) : ?> <?php if ( $author AND $author->display_name !== 'agroexpert.press') : ?>
<div class="article-author"> <div class="article-author">
<div class="article-author__name"> <div class="article-author__name">
<?= $author->display_name; ?><br> <?= $author->display_name; ?><br>