Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (td_util::get_option('tds_p_show_author_name') != 'hide') {
- //echo $td_mod_single->get_author();
- $coauths = get_coauthors();
- if (count($coauths) > 1) {
- echo '<div class="td-post-author-name multiple-authors"><div class="td-author-by">De către</div>';
- foreach ($coauths as $key => $coauth) {
- echo '<a href="/author/' . $coauth->user_nicename . '">' . $coauth->display_name . '</a>';
- }
- echo '<div class="td-author-line"> - </div></div>';
- } else {
- echo $td_mod_single->get_author();
- };
- }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement