[wp-trac] [WordPress Trac] #12974: Add support to get_archive_template() for custom content types

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 12 17:39:10 UTC 2010


#12974: Add support to get_archive_template() for custom content types
-------------------------+--------------------------------------------------
 Reporter:  johnonolan   |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  Post Types   |     Version:            
 Severity:  normal       |    Keywords:            
-------------------------+--------------------------------------------------

Comment(by markmcwilliams):

 Replying to [ticket:12974 johnonolan]:
 > Continuing with this example, if I write a post called "A Book" then the
 slug becomes example.com/books/a-book/ however /example.com/books/ returns
 a 404. This is where I'd like to see archive-post_type.php kick in.[[BR]]
 > [[BR]]
 > This seems like a fairly obvious one to me (in place of hacking around
 with pages and custom-page-templates)
 I somehow feel like you'll receive the same answer as I did John, with
 regards to my 'Taxonomy Thing' I spoke about which I'm sure plenty of
 people read, I know I talked to you about it! Again it'll be down to the
 WordPress Rewrite System, oh hang on, any alarm bells ringing here?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12974#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list