[wp-trac] [WordPress Trac] #13818: There should be index pages for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 11 16:35:06 UTC 2010
#13818: There should be index pages for custom post types
-----------------------------+----------------------------------------------
Reporter: frankieroberto | Owner:
Type: feature request | Status: new
Priority: high | Milestone: 3.0
Component: Template | Version: 3.0
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
Changes (by yeswework):
* cc: yeswework (added)
* priority: normal => high
* version: => 3.0
* component: General => Template
* milestone: Unassigned => 3.0
Comment:
We agree: this is a key omission and arguably needs to be remedied before
WP 3.0's custom post types facility can be considered complete. It's
logical that you'd expect, say, "books.php" (or even something like "type-
books.php") automatically to receive a query containing all the entries
for a corresponding custom post type "books", without having to do any
custom coding. (This is the way it works for custom taxonomies.)
Currently the only way to configure a default template for a
custom_post_type is to jump through hoops in the way described in the
following blog post: http://www.ballyhooblog.com/custom-post-types-
wordpress-30-with-template-archives/
(it involves adding custom rewrite rules AND hooking into the
template_redirect to sort out which PHP template should be loaded.)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13818#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list