document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2.  
  3. if ( function_exists( \'coauthors\' ) ) {    
  4.     foreach( get_coauthors() as $coauthor ): ?>
  5.     <section id="author-info" class="test22">
  6.         <header>
  7.             <h3>
  8.                 <?php echo \'About the Author: \';?>
  9.                 <a href="<?php echo get_author_posts_url( $coauthor->ID ); ?>"><?php echo $coauthor->display_name; ?></a>
  10.             </h3>
  11.         </header>
  12.         <div>
  13.             <p id="author-avatar"><?php echo get_avatar( $coauthor->user_email, \'80\' ); ?></p>
  14.             <p id="author-description"><?php echo $coauthor->description; ?></p>
  15.         </div> 
  16.     </section>
  17.     <?php endforeach;  
  18. }
  19.  
  20. else { ;?>
  21.     <section id="author-info">
  22.         <header>
  23.             <h3>
  24.                 <?php
  25.                     printf( __( \'About the Author: <a href="%s" rel="author">%s</a>\', \'btp_theme\' ),
  26.                         esc_url( get_author_posts_url( get_the_author_meta( \'ID\' ) ) ),
  27.                         get_the_author()
  28.                     );
  29.                 ?>
  30.             </h3>
  31.         </header>
  32.         <div>
  33.             <p id="author-avatar"><?php echo get_avatar( get_the_author_meta(\'email\'), 80 ); ?></p>
  34.             <p id="author-description"><?php the_author_meta(\'description\'); ?></p>
  35.         </div> 
  36.     </section>
  37.     <?php
  38. }
  39.  
  40. ?>
');