Co-Authors Plus
Author description problem on frontend (2 posts)

  1. vikash11
    Posted 2 years 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.


  2. vikash11
    Posted 2 years ago #

    I am using following code to show my bio.

    <?php $coauthors = get_coauthors(); ?>
    <?php foreach( $coauthors as $coauthor ): ?>
    <div class="author-descrip">
    <?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.]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic