Support » Plugin: Co-Authors Plus » Author description problem on frontend
2 years, 7 months ago
This plugin is very nice.I have used it recently and customized it in my theme.Author name is showing properly but description is not showing related to that particular author.It show’s admin description.Please help.
I am using following code to show my bio.
<?php $coauthors = get_coauthors(); ?>
<?php foreach( $coauthors as $coauthor ): ?>
<?php echo $userdata = get_userdata( $coauthor->ID ); ?>
<?php if ( $userdata->user_description ) echo $userdata->user_description; ?>
<?php endforeach; ?>
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]