I am trying to display both co-authors in the authors byline of posts on my site.
This is my code:
<center><h3 class="post-header-author"><p>Words and photography by <?php $the_author_posts_link(); ?></p></h3></center>
I changed this to the following template tag as suggested on many forums:
<?php the_coauthors_posts_links(); ?>
Unfortunately this didn't work and unfortunately I am in China at the minute so I can't access many other forum posts for their answers.
Any advice wold be greatly appreciated.
Also, is there anyway to display the coathors of a post as:
Words by (Author 1)
Photography by (Author 2)