Every new hosting plan ordered during June 2019 can request free DNSSEC setup ($39 value).
Become A Member to receive updates and support for our 50+ WordPress plugins!250,000+ sites use our WP plugins!  Click Here

How can I get embeds working on my website?

As part of our Must Use Plugins, we install the Disable Embeds plugin which disables automatic embed (oEmbed) functions in WordPress. This is because the oEmbed feature of WordPress that was added a few years ago has several drawbacks. For example it allows other websites to embed — and therefore load your site’s database queries — onto their own blog pages, which is sort of like the bad practice of hotlinking.

However, the Disable Embeds plugin does support whitelisting certain third party oEmbed sources. This can be done by adding a simple defined constant (code snippet) to your WordPress website.

/* Disable Embeds Functions */
define('DISABLE_EMBEDS', 'true');
define('DISABLE_EMBEDS_ALLOWED_SOURCES', 'youtube,twitter,soundcloud,scribd');

These quick embed codes will NOT work on LittleBizzy servers:



Using the ‘proper’ embed code is the best way (and improves performance). Here is a YouTube example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/wTpSC_a1nPo" frameborder="0" allowfullscreen></iframe>

Related Content:

  • https://www.littlebizzy.com/faq/must-use-plugins
Last modified: 6 Mar, 2019http://bizzy.in/29wpYtU

WordPress Gossip, Technical SEO News, And Other Goodies.

Free. Unsubscribe anytime.