Support » Fixing WordPress » WordPress 4.4 Embed Everything

  • I upgrade all my self-hosted sites to WordPress 4.4. However, the Embed Everything for embedded WordPress content from one site into another does not work when I embed content from any of my WordPress 4.4 sites but works fine when I embed content from other WordPress 4.4 sites.

    How would I trouble shoot what may be causing the issue?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    However, the Embed Everything for embedded WordPress content from one site into another does not work

    by “Embed Everything” you mean the plug called TGN Embed everything?

    does not work when I embed content from any of my WordPress 4.4 sites

    Khurt, could share the link to one of your own posts (i.e., the ones which “don’t work”) that you’ve tried embedding?

    Thread Starter Khürt Williams

    (@khurtwilliams)

    @girlieworks Try this one:

    https://islandinthenet.com/quick-thoughts-on-innovations-of-2015/

    @tara WordPress 4.4 includes code that turns WordPress sites into oEmbed providers.

    See the announcement here:

    WordPress 4.4 “Clifford”

    Okay, I’m pretty sure the problem has to do with the first link tag here (I copied this from the HTML source of that post):

    <link rel='shortlink' href='//wp.me/pn73N-5bY' />
    <link rel="alternate" type="application/json+oembed" href="//islandinthenet.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fislandinthenet.com%2Fquick-thoughts-on-innovations-of-2015%2F" />
    <link rel="alternate" type="text/xml+oembed" href="//islandinthenet.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fislandinthenet.com%2Fquick-thoughts-on-innovations-of-2015%2F&format=xml" />

    That link tag should look like this instead:

    <link rel='https://api.w.org/' href='http://islandinthenet.com/wp-json/' />

    So, the first thing that comes to my mind is the Jetpack plugin (because it has a WP.me shortlinks module): do have the latest version of that plugin installed? If not, try updating it.

    If you are already using the latest version, then try deactivating ALL of your plugins, to see if the link tag changes after you do that.

    Thread Starter Khürt Williams

    (@khurtwilliams)

    Hi @girlieworks, I’m running the latest and greatest everything. WordPress 4.4 and all plugins — including Jetpack — are updated.

    I disabled plugins — this severely breaks the site since the them itself depends on a few plugins — and I can now embed my own content. Now to determine which one of the 33 plugin might be the issue.

    I just hope my readership isn’t seeing this while I trouble shoot.

    Thread Starter Khürt Williams

    (@khurtwilliams)

    So … I disabled all the plugins and created a test post where I embedded the following link:

    https://islandinthenet.com/quick-thoughts-on-innovations-of-2015/

    The post worked and the “Embed Everything” worked as expected.

    I re-enabled each plugin one at a time and the embed continued to work as expected using the same link: https://islandinthenet.com/quick-thoughts-on-innovations-of-2015/

    All plugins were re-enabled and still everything worked with the test post.

    However … if I change the the embed link to something, it doesn’t work.

    It seems the only way to test this is to disable all the plugins, enable them one at a time, and test with one link, then change the link and test. Then enable another plug and repeat.

    That could take some time.

    Thread Starter Khürt Williams

    (@khurtwilliams)

    Eureka. I figured it out. The culprit is the CloudFlare plugin.

    Everything works with all the other plugins enabled. Enable CloudFlare and the embedding stops working.

    I’m glad to hear you were able to find the culprit! 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress 4.4 Embed Everything’ is closed to new replies.