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 "von ";
- foreach ($coauths as $key => $coauth) {
- echo '<a href="/author/' . $coauth->user_nicename . '">' . $coauth->display_name . '</a>';
- // add "and"
- if ($key != count($coauths)) {
- echo ' und ';
- $coauths = substr($coauthsHTML, 0, -4);
- }
- }
- } else {
- echo $td_mod_single->get_author();
- };
- }?>
Advertisement
Add Comment
Please, Sign In to add comment