WordPress.org

Ready to get started?Download WordPress

Forums

List Authors w/ Description + Image (2 posts)

  1. masok88
    Member
    Posted 3 years ago #

    Hey,

    I'm currently trying to create a page where I can list contributors in a form of loop with their name (as a link), description and an image (via a plugin) I know of wp_list_authors but I want almost a loop style functionality but only listing each author once along with the associated information. What I've got at the moment is..

    http://theseednetwork.co.uk/about/contributors/

    which displays a single author's information where in fact I actually have another author, a dummy account set up which is not displaying currently the code I have is..

    <?php while (have_posts()) : the_post(); ?>
    					<ul>
    						<li>
    							<?php
    									if ( the_author_image() ) {
    								  the_author_image();
    								}
    							?>
    
    							<?php the_author_posts_link(); ?></A>
    							<br />
    							<br />
    							<span>
    								<?php $shortdesc = substr(get_the_author_meta('user_description'),0,201); ?>
    								<?php echo $shortdesc; if (strlen($shortdesc) >200){ echo '&hellip;'; } ?>
    							</span>
    						</li>
    					</ul>
    
    						</div>
    
    						<?php endwhile;?>
  2. masok88
    Member
    Posted 3 years ago #

    Anyone?

Topic Closed

This topic has been closed to new replies.

About this Topic