I want to have a way of displaying a custom post archive for a particular author. I’m able to display custom posts for a category but not just the custom posts for a author. I already have a separate author page template displaying all the posts they have written divided by post type. I’m querying this using :
query_posts(
array(
'post_type' => 'custom_post_name',
'author'=>$curauth->ID
)
);
while (have_posts()) : the_post();
Essentially I want a number of author templates pages for every author.
Three steps need to be followed to accomplish it.
1. Add rewrite rules
2. Redirect to specific templates
3. Query posts to populate the page or template