[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:41:20 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 mikeschinkel):
* cc: mikeschinkel@… (removed)
Comment:
Replying to [comment:17 mattwiebe]:
> 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.
My first reaction is a -1 to subdirectories. I might be convinced
otherwise but I think requiring subdirectories for the simple case can
make something seem much less approachable for the new users and thus much
harder than it really need to be on the low-end. I'm reminded of Ruby on
Rails.
Maybe what would work well would be having subdirectories as one of the
more specific options in the hierarchy, i.e. if a site only needs one or
two custom post types then just put them all in the main theme directory.
OTOH, if the themer ''wants'' the complexity of subdirectories because
they are just dealing with too many files then they can reorganize and
WordPress will give priority to files in the subdirectories.
So, best of both worlds; if you need tools to manage complexity you get
them but they are not required for the simple case?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12974#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list