[wp-trac] [WordPress Trac] #12974: Add support to get_archive_template() for custom content types
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 2 00:12:36 UTC 2010
#12974: Add support to get_archive_template() for custom content types
-------------------------+--------------------------------------------------
Reporter: johnonolan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Post Types | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by mikeschinkel):
Reviewing `template-loader.php` yesterday trying to find where to "hook"
it I was just feeling the need for exactly this same thing.
However, can I propose we consider a different name from "''archive''?"
I think that's a legacy blog term that really doesn't relate to custom
post types, in general. For example if I have a site about movies and I
create a "''movie''" and "''actor''" custom post types, do `archive-
movie.php` and `archive-actor.php` make any contextual sense?
I don't know the best term, but here as some to consider:
- `many-{post_type}.php` - i.e. "many" vs. "single?"
- `list-{post_type}.php` - i.e. archives are lists of posts
- `loop-{post_type}.php` - i.e. WordPress loves it some Loops
- `collection-{post_type}.php` - i.e. archives are a collection of posts
- other?
Seriously, wouldn't any of those be better than `archive`?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12974#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list