Support » Plugin: Co-Authors Plus » [Plugin: Co-Authors Plus] Coauthor description?

  • I’ve been able to add the coauthor template so the byline names both, like:

    by Author1 and Author2

    But I’m not able to figure out how to add the second author’s bio information below the article. Is there a way to use the plugin to add a coauthor’s description? The equivalent of the “<?php the_author_description(); ?>”? So that both authors bios can appear?

Viewing 1 replies (of 1 total)
  • Plugin Author Mohammad Jangda


    You can try something like:

    $coauthors = get_coauthors();
    <div class="author-bios">
    <?php foreach( $coauthors as $coauthor ) : ?>
            <strong><?php echo $coauthor->display_name ?>:</strong>
            <?php echo $coauthor->description; ?>
    <?php endforeach; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Co-Authors Plus] Coauthor description?’ is closed to new replies.