[wp-trac] [WordPress Trac] #11055: Support page-{slug}.php and page-{id}.php template files for pages
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 31 22:24:03 UTC 2009
#11055: Support page-{slug}.php and page-{id}.php template files for pages
---------------------------+------------------------------------------------
Reporter: aaroncampbell | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Template | Version: 2.9
Severity: normal | Keywords:
---------------------------+------------------------------------------------
According to the [http://codex.wordpress.org/Templates_Hierarchy
documentation] the order for page templates is
`'pagename.php'->'page.php'->'index.php'` but it doesn't work like that.
Currently it just supports `'selected custom
template'->'page.php'->'index.php'`. I talked to beaulebens and westi in
IRC and suggested that the new order works more like the tag templates and
goes like this:
`'custom
template'->'page-{slug}.php'->'page-{id}.php'->'page.php'->'index.php'`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11055>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list