How can I show a custom post type for users in the authors.php file?
Do not use query_posts, and for that matter any custom query to replace the main query. It is always problematic and it creates more problems that solving it. Use the main query and make use of pre_get_posts to alter the main query as needed. To solve your issue, remove the query_posts line, this is how … Read more