Guest User

Untitled

a guest
Sep 25th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <?php
  2. if (td_util::get_option('tds_show_author_box') != 'hide') {
  3. //echo $td_mod_single->get_author_box();
  4. $coauths = get_coauthors();
  5. if (count($coauths) > 1) {
  6. echo '<div class="author-box-list">';
  7. foreach ($coauths as $key => $coauth) {
  8. echo '<div class="author-box-wrap"><a href="/author/' . $coauth->user_nicename . '">';
  9. echo get_avatar( $coauth->user_email, '96' );
  10. echo '</a><div class="desc"><div class="td-author-name vcard author"><span class="fn"><a href="/author/' . $coauth->user_nicename . '">' . $coauth->display_name . '</a></span></div>';
  11. echo '<div class="td-author-description">' . $coauth->description . '</div>';
  12. echo '</div><div class="clearfix"></div></div>';
  13. }
  14. echo '</div>';
  15. } else {
  16. echo $td_mod_single->get_author_box();
  17. };
  18. }?>
Add Comment
Please, Sign In to add comment