[wp-trac] [WordPress Trac] #34971: Embedding static front pages on multisite does not work
WordPress Trac
noreply at wordpress.org
Thu Dec 10 11:39:04 UTC 2015
#34971: Embedding static front pages on multisite does not work
--------------------------+-----------------------------
Reporter: thomaslhotta | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.4
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi,
Just started playing around with the new embed feature and I really like
it. However I discovered that it is not possible to embed the front page
of a blog when it is set to a static page.
{{{ WP_oEmbed_Controller::get_item }}} does not find the post id for the
static front page. It also seems like {{{WP_Query}}} cannot handle this
situation either as any request using {{{?embed=true}}} to the front page
returns the blog archive page instead without using the embed template.
I guess embedding single posts/pages is the use case for the majority of
users, but having it work for front pages would also be a nice way for
promoting individual blogs on a multisite install.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34971>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list