How to Embed Instagram Posts on Your WordPress Site (The Right Way)

Want to show off an Insta post, reel, or photo on your WordPress site — your own content, a client's feed, or a partner's post? The safest and fastest way to embed an Instagram post on WordPress is to use the platform's own official embed tool, not a third-party "downloader" plugin. Below, we explain why that matters, then give you a free, ready-to-paste widget that does it properly.

Why "IG Downloader" Plugins Are a Bad Idea

The tempting shortcut is a plugin that scrapes the media file and re-hosts it on your own server. Don't do this — it creates three real problems:

  • It violates IG's Terms of Use, which prohibit scraping and redistributing content without the creator's permission.
  • It's a copyright risk. Photos and videos belong to the person who posted them, not to whoever can grab the file URL.
  • It's technically fragile. Scraper widgets rely on third-party CORS proxies that break every time IG tweaks its markup, leaving you with a broken feature and a pile of support tickets.

The good news: IG already offers a free, fully supported way to display posts on any website — no scraping, no proxy server, and no downloading required.

The Legitimate Alternative: IG's Official Embed

Every public post, reel, and IGTV video has a built-in Embed option (tap ··· on a post → Embed). This generates a snippet powered by Instagram's own embed.js script, which the platform hosts, maintains, and keeps compliant with its terms automatically.

When you use the official embed:

  • The media stays hosted on Instagram's servers — you're displaying it, not copying it.
  • It automatically shows the caption, like count, and a link back to the original post — attribution built in.
  • It works for posts, reels, and IGTV.
  • It only renders public posts, which is exactly the safeguard that keeps it compliant — private content simply won't load.

This is the same mechanism news sites and blogs use whenever you see an IG post embedded inside an article. According to Meta's official Instagram oEmbed documentation, this endpoint is the sanctioned way for third-party sites to render its content safely, and it's the same standard used across the wider web for embedding social posts.

Try the Free Embed Widget

We built a simple widget that wraps IG's official embed script in a clean, mobile-friendly interface — paste a public post URL, tap Embed, and it renders instantly. Try it below:

IG Post Embedder

Paste a public IG post link to embed it on this page

Only works with public posts. Use this for your own content or content you have permission to share.

Loading embed...

It's a single HTML snippet you can paste into any WordPress page, post, or Custom HTML block — no plugin install, no API keys, no backend server to maintain. For setup help or more free tools, visit floan.in.

How to Add It to WordPress

  1. Copy this entire file's contents.
  2. In the WordPress block editor, add a Custom HTML block (or use the code editor in Elementor).
  3. Paste the code in.
  4. Publish or preview — done.

Want it wired directly into your theme or turned into a reusable Gutenberg block instead? Our team at floan.in can set that up for you.

What This Widget Is (and Isn't) For

Good use cases:

  • Embedding your own posts in a blog article or landing page
  • Featuring a client's IG content on their own website (with permission)
  • Showcasing user-generated content you have explicit rights to display
  • Adding an "As seen on Instagram" section to a portfolio site

Not what it's for:

  • Downloading or re-hosting someone else's photos or videos as files
  • Bulk-scraping a competitor's or influencer's content
  • Displaying private accounts' posts (this simply won't work — by design)

Want to Back Up Your Own IG Content Instead?

If your real goal is archiving your own posts, reels, and stories rather than embedding them on a site, skip third-party tools entirely and use IG's official export feature: open the app, go to Settings and privacy → Accounts Center → Your information and permissions → Download your information, then choose your account, date range, and content types. IG will email you a complete, verified export — no third-party server ever touches your data. See IG's official Help Center article on downloading your information for the full walkthrough.

FAQ

Does embedding a post require permission from the original poster?
For public posts, IG's embed feature is built to be used freely — that's the point of making a post public and offering an embed option. It's still good practice to credit the creator, which the embed does automatically via the caption and profile link.

Will this widget work with private accounts?
No — and that's intentional. IG's embed script only renders content from public accounts, which keeps this method compliant with their terms.

Is this the same as installing an Instagram plugin?
No plugin or database is involved. The widget is a lightweight HTML/JS snippet that calls IG's own embed.js script directly, so there's nothing to update or maintain on your end.

Can I style or resize the embedded post?
IG's embed script controls the post's internal styling, but you can control its container width and alignment with your own CSS, as shown in the widget code above.

Scroll to Top