If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
June 30, 2011 at 7:52 pm #4849
I am trying the co-author plus plugin and wonder how the template can be modified to show all authors as individual sections
Author one: description
Author two: descriptionJuly 1, 2011 at 5:31 am #47764
I don’t know the plugin and how it outputs the author info but basically it should be possible to output the text above or below the related post section. Open up single.php and and insert the co-author plus plugin function/code above or below following code:
//show related posts if there are any
get_template_part( 'includes/related-posts');July 1, 2011 at 10:30 pm #47765
I always try to share code with others so here is what I came up with. Once you have the plugin installed and have several authors for a post, the authors will show below the post with their photo to the left and their bio description on the right. Open single.php and replace the code after the author-info part. I also have another plug in called user photo that enables you to add profile photos to your authors.
<?php _e('About the author(s)','newscast'); ?>
$description = get_the_author_description();
if($description != '')
_e('The author didnt add any Information to his profile yet','newscast');
$i = new CoAuthorsIterator();
print $i->count() == 1 ? 'Author: ' : 'Authors: ';
print $i->is_last() ? ' ' : ', ';
$author_email = get_the_author_email();
</div> <div class="author-info"><?php
$description = get_the_author_description();echo $description; echo "<br>";
I hope this helps others who want to show photos and bios for multiple authors on posts
EDIT: mods please move this to newscast, I posted it in brightbox it should be in newscast, thanksJuly 2, 2011 at 6:39 am #47766
The topic ‘Multiple authors support’ is closed to new replies.