views:

775

answers:

1

I'm looking for a way to display the authors of a wordpress blog as a dropdown menu, with an on change event that redirects the user to the author page, which lists all the previous posts written by that user.

Is there a way to do that?

+1  A: 

UPDATE Actually, you should simply be able to use wp_list_authors() for the whole thing, as it automatically generates a list of authors with a link to a page displaying all their posts. See http://codex.wordpress.org/Template_Tags/wp_list_authors#Markup_and_Styling_of_Author_Lists for more details.

I'm using this plugin to display posts-by-author and it works well. http://www.dagondesign.com/articles/posts-by-author-plugin-for-wordpress/

I have an author.php template which displays the author's info (pic, blurb) and below it I'm showing their 5 most recent posts using the plugin above.

To show the pic I'm using this plugin: http://wordpress.org/extend/plugins/user-photo/

To get the dropdown contents you could use this wp function:

<?php wp_list_authors(); ?>
McGirl