Files
profile/template-parts/post/cell-author.php

23 lines
400 B
PHP
Raw Normal View History

2025-07-09 21:21:17 +03:00
<!--[post/cell-author]-->
<?php
$authors = get_coauthors();
?>
<div class="article__detail">
<?php foreach ( $authors as $author ): ?>
2025-08-27 00:00:02 +03:00
<a class="article__author" href="<?= get_author_posts_url( $author->ID, $author->user_nicename ); ?>">
2025-07-09 21:21:17 +03:00
<?= $author->display_name; ?>
</a>
<?php endforeach; ?>
</div>
<!--[/post/cell-author]-->