[wp-trac] [WordPress Trac] #12105: Add support to get_single_template() for custom content types

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 1 01:01:59 UTC 2010


#12105: Add support to get_single_template() for custom content types
-------------------------+--------------------------------------------------
 Reporter:  ptahdunbar   |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Template     |     Version:  3.0
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by ptahdunbar):

 I definitely opened a can of worms here...

 First off all, I'm reconsidering these two checks:[[BR]]
 * singular-{type}-{slug}.php[[BR]]
 * singular-{type}-{id}.php[[BR]]

 For performance reasons.

 I'm still suck on the ordering, which should come first, etc. Doing some
 testing before posting a new patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12105#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list