add files
This commit is contained in:
7
author-archive.php
Normal file
7
author-archive.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php foreach (get_coauthors() as $author ): ?>
|
||||
<span class="publication__author" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
||||
<?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 ); ?>" />
|
||||
</span>
|
||||
<?php endforeach; ?>
|
||||
Reference in New Issue
Block a user