[wp-trac] [WordPress Trac] #12385: it's unclear which template file is used by custom post types (was: post type and page name problems)
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 26 19:16:07 UTC 2010
#12385: it's unclear which template file is used by custom post types
--------------------------+-------------------------------------------------
Reporter: danielpataki | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Template | Version: 3.0
Severity: major | Keywords:
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):
* severity: normal => major
* component: General => Template
* version: => 3.0
* milestone: Unassigned => 3.0
* type: feature request => defect (bug)
Comment:
Rephrasing this a little bit:
It's unclear which template file is used by custom post types, and how to
override them.
Suggestion: we use a file named after the post type (e.g. "custom-
type.php", for one whose type is "custom_type").
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12385#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list