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

WordPress Trac noreply at wordpress.org
Mon Oct 12 23:46:46 UTC 2015


#34278: Add support for embeds in the theme template hierarchy
-------------------------+-------------------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  trunk
 Severity:  normal       |   Keywords:  needs-patch 2nd-opinion
  Focuses:  template     |
-------------------------+-------------------------------------
 oEmbed embeds (introduced in #32522) use `wp-includes/embed-template.php`
 as the template file. The `embed_template` filter is available to override
 this.

 The addition of an `embed.php` file to the template hierarchy should be
 considered, to make it easier for theme developers to style the output.
 Portions of the current embed template (particularly the share dialog
 markup) could be split into template functions to aid this.

 Thoughts?

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


More information about the wp-trac mailing list