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

WordPress Trac noreply at wordpress.org
Sun Feb 21 12:05:40 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 ramiy):

 With `embed-format-{post-format}.php` you are creating inconsistency in
 the template hierarchy.

 @peterwilsoncc suggested to use `embed-{post-type}-{slug}.php`
 ([comment:25 comment 25]), based on post and pages hierarchy. The use of
 post types is more common in wordpress template hierarchy.

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


More information about the wp-trac mailing list