[wp-trac] [WordPress Trac] #35067: Embed support for Recent Posts / Static Pages / Archive Pages
WordPress Trac
noreply at wordpress.org
Mon Dec 14 07:16:44 UTC 2015
#35067: Embed support for Recent Posts / Static Pages / Archive Pages
-------------------------+-----------------------------
Reporter: QROkes | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.4
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I think embedding should be supported for front pages even when is showing
"recent posts", there is no reason to exclude this kind of pages (we never
know when while writing a post we need to make a reference (embed) to some
of this pages).
Also, there are situations when you make a widgetized home page and by
default you have to leave the "Settings > Reading > Front Page > Your
latest posts" as default and in fact this page is showing the widgetized
content instead of the recent posts list.
Nowadays, discovery links are not inserted in "recent posts" pages, but on
the other hand these links are inserted for static front pages, although
it doesn't work.
{{{wp_oembed_add_discovery_links}}} function now is limited for
"is_singular()" condition. {{{is_singular() || is_front_page() ||
is_home() || is_archive()}}} could be more convenient. '''There is no
negative impact by extending this functionality.'''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35067>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list