Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 11th, 2011  |  syntax: None  |  size: 0.84 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!--teste-->
  2. <!--Display Author Code -->
  3. <div class='author-shortcodes'>
  4. <div class='author-inner'>
  5. <?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(); } else { the_author_posts_link(); } ?>      
  6. <?php $coauthors = get_coauthors(); ?>
  7. <?php foreach( $coauthors as $coauthor ): ?>
  8. <div class="authbio">
  9. <?php $userdata = get_userdata( $coauthor->ID ); ?>
  10. <div class='author-image'>
  11. <?php if (function_exists('get_avatar')) { echo get_avatar( get_the_author_meta( 'user_email' ), '57' ); }?>                   
  12.                         <div class='author-overlay'></div>
  13.                 </div> <!-- .author-image -->
  14. <div class='author-info'>
  15. <p><?php if ( $userdata->user_description ) echo $userdata->user_description; ?></p>
  16. </div> <!-- .author-info -->
  17. </div>
  18. <?php endforeach; ?>
  19. </div> <!-- .author-inner -->
  20. </div> <!-- .author-shortcodes -->
  21. <!--fim do teste-->
  22.  
clone this paste RAW Paste Data