WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. vikash11
    Member
    Posted 8 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.

    https://wordpress.org/plugins/co-authors-plus/

  2. vikash11
    Member
    Posted 8 months 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; ?>
    </div>
    <?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.]

Reply

You must log in to post.

About this Plugin

About this Topic