[wp-trac] [WordPress Trac] #13040: author.php doesn't recognize custom_post_type posts written by user

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 18 04:01:46 UTC 2010


#13040: author.php doesn't recognize custom_post_type posts written by user
--------------------------+-------------------------------------------------
 Reporter:  10sexyapples  |       Owner:                               
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  Unassigned                   
Component:  General       |     Version:                               
 Severity:  normal        |    Keywords:  author.php, custom post_types
--------------------------+-------------------------------------------------
 Working on nightly WP3.0. - custom theme, but, tested with TwentyTen as
 well and got same result. Not entirely sure if this is a bug or if it is
 intended behavior, but, the author template does not recognize posts of a
 custom post type. It will return a 404 if there are no "post" post_types
 and only "custom" post_types available to load. I thought it might be
 worth mentioning as well that I feel really strongly that there should be
 an archivalish-"post_type" template along with the single-"post_type"
 template. I have been struggling with the lack of one and have had to fall
 back on creating a page template that pulls in an archival type list via
 custom post type query, but, we all know how the paging issue is with
 that, and it seems like it would just plug right in to the logic of
 archive.php, or even index.php pulling in all "post" type posts by
 default. Why not let custom post types have their own "index.php"? that
 pulls in all of it's post types by default by simply making a file called
 "post_type".php. I made that sound way easier than it probably would be,
 but, you get the point. Just a thought.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13040>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list