add files
This commit is contained in:
7
author-news.php
Normal file
7
author-news.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php foreach (get_coauthors() as $author ): ?>
|
||||
<a data-author="<?= $author->user_nicename; ?>" class="publication__author" itemprop="author" itemscope itemtype="https://schema.org/Person" href="<?php echo get_author_posts_url( $author->ID, $author->user_nicename ); ?>" itemprop="url">
|
||||
<?php echo $author->display_name; ?>
|
||||
<meta itemprop="name" content="<?php echo htmlspecialchars($author->display_name); ?>" />
|
||||
<link itemprop="url" href="<?php echo get_author_posts_url( $author->ID, $author->user_nicename ); ?>" />
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
Reference in New Issue
Block a user