Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (td_util::get_option('tds_show_author_box') != 'hide') {
- //echo $td_mod_single->get_author_box();
- $coauths = get_coauthors();
- if (count($coauths) > 1) {
- echo '<div class="author-box-list">';
- foreach ($coauths as $key => $coauth) {
- echo '<div class="author-box-wrap"><a href="/author/' . $coauth->user_nicename . '">';
- echo get_avatar( $coauth->user_email, '96' );
- 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>';
- echo '<div class="td-author-description">' . $coauth->description . '</div>';
- echo '</div><div class="clearfix"></div></div>';
- }
- echo '</div>';
- } else {
- echo $td_mod_single->get_author_box();
- };
- }?>
Add Comment
Please, Sign In to add comment