[wp-trac] [WordPress Trac] #34278: Add support for embeds in the theme template hierarchy

WordPress Trac noreply at wordpress.org
Sun Feb 21 16:10:08 UTC 2016


#34278: Add support for embeds in the theme template hierarchy
-----------------------------------------------+------------------------
 Reporter:  johnbillion                        |       Owner:
     Type:  task (blessed)                     |      Status:  reviewing
 Priority:  normal                             |   Milestone:  4.5
Component:  Embeds                             |     Version:  4.4
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch 4.5-early needs-testing  |     Focuses:  template
-----------------------------------------------+------------------------

Comment (by Otto42):

 Plugins can just as easily add custom templates too. That's not really the
 issue.

 The issue is one of separation of presentation and content. Themes should
 not have special cases for custom post types because post types are a form
 of content and themes are the means by which the content is presented. If
 the content is tied tightly to the theme, then that's a form of lock-in.
 It limits the ability to change the theme (alter the presentation) without
 losing some portion of the content. That limitation should be avoided when
 it is possible to do so.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34278#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list