Co Authors bypassing custom author template
-
For some reason when I try to add a coauthor to a post and create a custom author template for said coauthor, the link to their posts takes me to the default author.php file. However, if I have a regular author and create a custom template for that it does take me their custom author template. Ive tried ID and nicename for the coauthor but it keeps loading the default author template.
I have this in my content.php file and indeed it does output the correct author/coauthor but the linking is a bit off with the coauthor. Is there anything I can do to get it to recognize the coauthor custom author template? Do I need something within the custom author template?
<?php if ( function_exists( 'coauthors_posts_links' ) ) { coauthors_posts_links(); } else { the_author_posts_link(); } ?>
Thanks!!
- The topic ‘Co Authors bypassing custom author template’ is closed to new replies.