Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

instagram_oembed_provider

// Register oEmbed providers
function instagram_oembed_provider() {

	wp_oembed_add_provider( '#https?://(www.)?instagram.com/p/.*#i', 'http://api.instagram.com/oembed', true );
	wp_oembed_add_provider( '#https?://(www.)?instagr.am/p/.*#i', 'http://api.instagram.com/oembed', true );

}

// Hook into the 'init' action
add_action( 'init', 'instagram_oembed_provider' );