[wp-trac] [WordPress Trac] #12974: Add support to get_archive_template() for custom content types
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 31 03:19:02 UTC 2010
#12974: Add support to get_archive_template() for custom content types
-------------------------+--------------------------------------------------
Reporter: johnonolan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Triage
Component: Post Types | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Changes (by mattwiebe):
* cc: mattwiebe (added)
Comment:
I tackled just this problem with my [http://somadesign.ca/projects
/smarter-custom-post-types/ Smarter Custom Post Types], so just as a
reference to something that's proven moderately popular:
1. post_type/index.php - landing page/archive template
1. post_type/single.php - template for single post
It's not a complete solution by any means, but just adding to the mix. I
think the key thing for custom post types is to favor using subdirectories
rather than filling up the theme root any more.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12974#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list