Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--teste-->
- <!--Display Author Code -->
- <div class='author-shortcodes'>
- <div class='author-inner'>
- <?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(); } else { the_author_posts_link(); } ?>
- <?php $coauthors = get_coauthors(); ?>
- <?php foreach( $coauthors as $coauthor ): ?>
- <div class="authbio">
- <?php $userdata = get_userdata( $coauthor->ID ); ?>
- <div class='author-image'>
- <?php if (function_exists('get_avatar')) { echo get_avatar( get_the_author_meta( 'user_email' ), '57' ); }?>
- <div class='author-overlay'></div>
- </div> <!-- .author-image -->
- <div class='author-info'>
- <p><?php if ( $userdata->user_description ) echo $userdata->user_description; ?></p>
- </div> <!-- .author-info -->
- </div>
- <?php endforeach; ?>
- </div> <!-- .author-inner -->
- </div> <!-- .author-shortcodes -->
- <!--fim do teste-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement