Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( function_exists( 'coauthors' ) ) :
- $coauthors = get_coauthors();
- foreach( $coauthors as $coauthor ): ?>
- <div class="item largest-12 columns">
- <div class="post">
- <article>
- <div class="row">
- <div class="largest-4 columns">
- <?php echo get_avatar( $coauthor->user_email, '560' ); ?>
- </div>
- <div class="largest-8 columns">
- <?php
- echo '<h3 class="author"><a href="'. get_author_posts_url( $coauthor->ID, $coauthor->user_nicename ) .'">' . $coauthor->display_name . '</a></h3>';
- if ( $coauthor->description )
- echo '<p>' . esc_html($coauthor->description) .'</p>'; ?>
- </div>
- </div> <!-- .row -->
- </article>
- </div> <!-- .post -->
- </div>
- <?php
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement