Features Pricing FAQ Get started free

How to embed an Instagram feed on WordPress

You can embed an Instagram feed on WordPress without a plugin: create a widget in Feedsnap, copy one snippet and paste it into a Custom HTML block. It works in the Block Editor (Gutenberg) and the Classic Editor.

Updated October 2026. Takes about five minutes.

Before you start

  • An Instagram Business or Creator account. Feedsnap uses the official Instagram API, which works with these account types. Switching a personal account is free in the Instagram app settings.
  • A free Feedsnap account (sign up here).
  • Access to edit the WordPress page, post or widget area where the feed should appear.

Embed your feed on WordPress in 5 steps

  1. Create your Instagram widget

    Sign up for Feedsnap and connect your Instagram Business or Creator account. Pick a widget type (a feed, a profile card or a single post) and adjust the look in the live editor. The free plan is enough to follow this guide.

  2. Copy the embed code

    Open your widget’s Embed page in the dashboard and copy the script embed. It is two lines: a script that loads the widget and a tag that marks where it appears. Your copy contains your own widget ID instead of YOUR_WIDGET_ID.

    Script embed (recommended)
    <script defer src="https://feedsnap.app/widget/feed.js"></script>
    <feedsnap-feed feed-id="YOUR_WIDGET_ID"></feedsnap-feed>
  3. Add a Custom HTML block

    1. Edit page
    2. +
    3. Custom HTML

    Open the page or post in the WordPress editor. Click + and add a “Custom HTML” block where the feed should appear.

    Using the Classic Editor? Switch to the Text tab and paste the code there instead.

  4. Paste the code

    Paste the script embed code into the block. Switch the block to Preview if you want to see the feed while editing.

  5. Update or publish

    Click Update (or Publish) to make it live. From now on the feed refreshes on its own when you post on Instagram.

Troubleshooting and FAQ

Do I need a WordPress plugin to embed an Instagram feed?

No. The script embed works in a Custom HTML block, so there is no plugin to install, update or keep compatible with your theme.

Can I show the feed in a sidebar or footer?

Yes. Add a Custom HTML block to the widget area (Appearance > Widgets) or, in a block theme, to the footer template in the Site Editor, and paste the same code.

The feed does not appear on my page. What should I check?

View the published page rather than the editor, and clear any page cache. Some optimization or security plugins delay or strip scripts; exclude the Feedsnap script from them, or use the iframe embed from the same Embed page.

Does it work on WordPress.com?

Self-hosted WordPress allows the script embed out of the box. Some WordPress.com plans remove script tags from posts; if that happens, paste the iframe embed instead.

Will an Instagram feed slow down my WordPress site?

The widget is only about 35 KB, loads with defer, and lazy-loads resized images, so it does not block your page. It runs in a Shadow DOM, so your theme styles and the widget never clash.

Guides for other platforms

Put your Instagram feed on your site today

Create a free widget, copy one snippet and paste it in. Your feed then updates by itself.

Create your free widget

Free forever. Pro is €39 a year or €4 a month, with a 14-day free trial and no credit card needed.