I’m trying to implement the Co-Authors Plus Plugin. It says that you will need to change some PHP in the theme. The documentation outlines the changes.
I believe I have found where I would need to change it in my theme. In the post-author-info.php
file:
<?php
/**
* Post Author Info
*
* @package WP Journal
* @subpackage Include
*/
?>
<div id="authorinfo" class="columns alpha omega marT30 marB20">
<a href="https://wordpress.stackexchange.com/questions/88548/<?php the_author_meta("url'); ?>"><?php echo get_avatar( get_the_author_meta('email'), '80' ); ?></a>
<h5 class="marB10"><?php _e('By', 'contempo'); ?>: <a href="https://wordpress.stackexchange.com/questions/88548/<?php the_author_meta("url'); ?>"><?php the_author(); ?></a></h5>
<p><?php the_author_meta('description'); ?></p>
<div class="clear"></div>
</div>
Just adding this line:
<?php if ( function_exists( 'coauthors' ) ) { coauthors(); } else { the_author(); } ?>
…seems to give me something that I want. Both “Admin” And “Andrew Gable” are displayed.
But, I’m unsure on how to get it to link correctly, and how to handle photos and multiple Bio’s.