[wp-trac] [WordPress Trac] #18859: Single theme template for custom post by slug

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 4 19:27:24 UTC 2011


#18859: Single theme template for custom post by slug
-------------------------+-----------------------------
 Reporter:  ericjuden    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Post Types   |    Version:  3.3
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 I was working on adding a custom template for an individual post in my
 custom post type and discovered that you could only make a single-{post-
 type}.php. This patch adds the ability to make single-{post-
 type}-{slug}.php

 It's pretty straight forward, and only adds 1 line of code to wp-
 includes/theme.php

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


More information about the wp-trac mailing list