If you’re using WordPress and utilizing Custom Post Types and multiple authors, you may want to list all the posts an author has written on their author.php page, custom or no. Here is the code that will enable you to grab the author as well as their posts.
<?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); query_posts( array( 'post_type' => array('post','custom_post_type'), 'author' => $author, 'posts_per_page' => -1 ) ); ?>
Replace custom_post_type with your CPT name. Use as many as you have/need in the post_type array. Place the snippet in your author.php page before the loop. Setting posts_per_page to -1 displays all posts by the author.
This is just a sample of one way to use query_posts on pages other than your custom archives, etc. You can also add additional parameters. More information is located in the WordPress Codex: query_posts Function Reference. Information is also available in the WordPress Codex for Author Templates and their structure and uses.