Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function get_coauthors() {
- $buffy = '';
- $coauths = get_coauthors($this->post->ID);
- if (count($coauths) > 1) {
- foreach ($coauths as $key => $coauth) {
- $buffy .= '<span class="td-post-author-name"><a href="/author/' . $coauth->user_nicename . '">' . $coauth->display_name . '</a></span>';
- }
- } else {
- $buffy .= $this->get_author();
- };
- return $buffy;
- }
Advertisement
Add Comment
Please, Sign In to add comment