WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
[resolved] Co-Authors Plus - Author bios on single posts (5 posts)

  1. doubleedesign
    Member
    Posted 2 years ago #

    This plugin is almost exactly what I need :) Just having one issue. I want to add the authors' biographies to the end of each post.

    I have this code:

    $i = new CoAuthorsIterator();;
    $i->iterate();
    the_author_description();
    while($i->iterate()){
         print the_author_description();
    }

    Which spits out both authors' bios, however all in one block of text with no markup tags around it. I tried:

    print '<p>' . the_author_description(). '</p>';

    in the while loop, but all that does is add paragraph tags after the block of text that I want to be inside them.

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

  2. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    I've put together a quick code snippet which should help you out. Let me know if you have any follow up questions.

  3. azathyel
    Member
    Posted 2 years ago #

    I'm using social author bio plugin, any idea about how can I combine both? I mean, showing bios of multiple authors but in the social author bio plugin way

    Thanks in advance

  4. Daniel Bachhuber
    Hand Built
    Plugin Author

    Posted 2 years ago #

    @azathyel I don't think it's an easy change. I'd recommend contacting the author of that plugin about supporting Co-Authors Plus and multiple bylines

  5. janbletz
    Member
    Posted 1 year ago #

    Daniel, I'd like to do this as well.

    Co-authors plus is a great plugin, indispensable for anyone hosting a site with co-authors. I'm very greatful! However, I'd like to be able to display the profile of two (or even more) authors at the bottom of my posts as well... See: http://www.respons.co.nl/wat-is-de-politiek-van-plan-met-de-toekomst-van-nederland, which has two authors but only one profile is displayed.

    Your explanation on how to fix this, but this is to difficult for me (how do you put code 'in the loop' is beyond me, I need someone to tell me which files I should hack).

    I am using the Suffusion theme, in case you need to know.

    Jan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic