Family Encyclopedia >> Electronics

How to easily embed Instagram in WordPress with oEmbed

In the past, we have shown you how to embed videos, slideshare, and soundcloud in WordPress using oEmbed. One of our users asked if there was a way to easily embed Instagram in WordPress with oEmbed. The answer is yes. In this article, we will show you how to add instagram oEmbed support in WordPress.

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

All you have to do is open a blank .php file and call it wpb-instagram.php. Then copy the code below and save it there. Upload the file to your plugins folder and simply activate the plugin.

  

Now all you have to do is paste the instagram image URL into your WordPress post on its own line. It will automatically embed the image and boom. It's that easy.