Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. <?php
  2. if (td_util::get_option('tds_p_show_author_name') != 'hide') {
  3. //echo $td_mod_single->get_author();
  4. $coauths = get_coauthors();
  5. if (count($coauths) > 1) {
  6. echo '<div class="td-post-author-name multiple-authors"><div class="td-author-by">De către</div>';
  7. foreach ($coauths as $key => $coauth) {
  8. echo '<a href="/author/' . $coauth->user_nicename . '">' . $coauth->display_name . '</a>';
  9. }
  10. echo '<div class="td-author-line"> - </div></div>';
  11. } else {
  12. echo $td_mod_single->get_author();
  13. };
  14. }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement