WordPress.org

Support

Support » Plugins and Hacks » Co-Authors Plus » [Resolved] [Plugin: Co-Authors Plus] Create A Separate Co-Author Section

[Resolved] [Plugin: Co-Authors Plus] Create A Separate Co-Author Section

  • Hello Daniel,

    Great Plugin! I’m hoping that you can shed some light on creating a separate DIV section for the Co-Author that will only appear when a second (or third) Contributor is attached to the post.

    Here’s my code for the Main Author on my posts:

    // <!– About The Main Author –>
    <div class=”dash”></div>
    <div class=”author”>
    <h3>About the Author</h3>
    <?php echo get_avatar( get_the_author_email(), ’80’ ); ?><p>
    <?php the_author_meta(‘user_description’); ?></p></div>
    <!– //About The Main Author –> //

    Here’s the identical section that will appear below the Main Author – It will only appear when a post with a second (or third) contributor appears. I only want to Contributor to appear in this section when applicable.

    What do I need to change in the code below to get this working with Co-Authors?

    // <!– About The Contributor –>
    <div class=”dash”></div>
    <div class=”author”>
    <h3>About the Contributor</h3>
    <?php echo get_avatar( get_the_author_email(), ’80’ ); ?><p>
    <?php the_author_meta(‘user_description’); ?></p></div>
    <!– //About The Main Contributor –> //

    I don’t see a Co-Author template tag that replaces either the get_the_author_email and the_author_meta (assuming that’s what I need to replace)

    Any help appreciated!

    Adam

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

Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] [Plugin: Co-Authors Plus] Create A Separate Co-Author Section’ is closed to new replies.
Skip to toolbar