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

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 31 23:09:51 UTC 2010


#12105: Add support to get_single_template() for custom content types
-------------------------+--------------------------------------------------
 Reporter:  ptahdunbar   |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  Template     |     Version:  3.0       
 Severity:  normal       |    Keywords:  has-patch 
-------------------------+--------------------------------------------------
 Using custom content types, it would be great to display single entries
 differently, based on their content type.

 The new approach:[[BR]]
 * singular-post_type-slug.php[[BR]]
 * singular-post_type-id.php[[BR]]
 * singular-post_type.php[[BR]]
 * singular.php[[BR]]
 * single.php (for backwards compatibility)

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


More information about the wp-trac mailing list