Family Encyclopedia >> Electronics

How to add SlideShare to WordPress oEmbed without a plugin

If you've ever spoken in front of an audience, then you probably know what slideshare is. If you haven't, then slideshare is a place where people upload their presentation slides, for others to see. Quite often, these speakers also embed their slides on their blogs. You can use the slideshare embed code which works fine or you can make it much easier by simply adding it to WordPress oEmbed. This would allow you to simply paste a URL of your slideshare presentation, and it will automatically embed just like Youtube videos. In this article, we will show you how to add slideshare to WordPress oEmbed without a plugin.

Update:You do NOT have to use this tutorial anymore. WordPress 3.5+ has built-in support for Slideshare.

Open the functions.php file of your theme or a site plugin and simply paste this code:

// Agregar la función de Slideshare oEmbed add_oembed_slideshare () wp_oembed_add_provider ('http://www.slideshare.net/*', 'http://api.embed.ly/v1/api/oembed'); add_action ('init', 'add_oembed_slideshare');

Thanks to @tammyhart for sharing the snippet with us.

PS Do you want to see all the presentations we have given? Then visit WPBeginner's Slideshare