Hi,
Following older threads I was able to make the co author show below the title [Using co authors plus plug in]. But I still can’t figure out how to show the bios of both authors below the article [author box for both authors].
Also, the two authors do not show up on the home page—any idea how to make this work across the site, wherever the post appears?
The code I used to make it work below article title is
<?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 “by “;
foreach ($coauths as $key => $coauth) {
echo ‘user_nicename . ‘”>’ . $coauth->display_name . ‘‘;
// add “and”
if ($key != count($coauths)) {
echo ‘ and ‘;
$coauths = substr($coauthsHTML, 0, -4);
}
}
} else {
echo $td_mod_single->get_author();
};
}?>
Hello,
Unfortunately this will have to be made custom. It will not be an easy task to get it to work on modules or on the author card.
In order to get it to work you will have to edit the author function for modules here: http://screencast.com/t/aRbIfQpn5 and the authors box : http://screencast.com/t/4hA6htm7j
Unfortunately you will have to hire some help for this customization as we cannot offer any customization services at the moment. You can hire a freelancer form studio.envato.com
Thank you for your understanding.
Can you suggest what edits we have to make in the author function and authors box?
I have managed to show the authors on the article with two authors but it doesn’t work on the articles which have a single author [The link to author archive doesn’t work]
Also, in the author box with two authors, I managed to show the two authors but again, the link to author archive doesn’t work.
Hi,
Unfortunately this is not a simple task. We have no suggestions for this task. The authors link must be changed in order for the link to go to the author box.
This part: echo ‘user_nicename . ‘”>’ . $coauth->display_name . ‘‘; will have to be edited and an anchor tag added, but it will have to be adapted to the plugin’s way of getting the authors.
If you truly need this modification please hire a freelancer to help you out as it will require substantial php knowledge.
Thank you for your understanding.