[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:57:21 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):
"When an item is_singular(), that means it is is_page() is_attachment()
is_single()."
You're right. This would require modifying template-loader.php. Is there a
reason in the ordering of the if..else statements?
Working on a new patch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12105#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list