WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Co-Authors] Pulling Bio Info For Each Coauthor (3 posts)

  1. chazbeaner
    Member
    Posted 5 years ago #

    On my single post page I am pulling the bio info for the author of the post and displaying it, so I'm trying to figure out if there is a way of pulling multiple bios using the coauthors plugin.

    I looked through the php file and there are several functions commented out, but none of them looked like they would mirror the_author_description... does anyone know if this would be possible?

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

  2. sunertl
    Member
    Posted 4 years ago #

    A bit late maybe but if someone else wants to know it: this is how I solved this:

    <div id="authors">
    	<?php
    		$i = new CoAuthorsIterator();
    		while($i->iterate()){
    		?>
    		<div>
    			<?php the_author_posts_link('namefl'); ?><br />
    			<?php the_author_description(); ?><br />
    			All posts by<?php the_author_posts_link('namefl'); ?>
    		</div>
    	<?php } ?>
    </div>
  3. LSmith
    Member
    Posted 4 years ago #

    Sweet..you are displaying the multiple co-authors specific to that Page or Post?

Topic Closed

This topic has been closed to new replies.

About this Topic