WordPress.org

Support

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

[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?

    http://wordpress.org/extend/plugins/co-authors-plus/

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

    @batmoo

    You can try something like:

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