How to embed your Instagram feed in WordPress
You do not need a plugin. Paste one embed code into a Custom HTML block, and your latest Instagram posts appear on the page and stay up to date.
Updated October 11, 2026

Before you start: get your embed code
- Sign up for Social Feed by grip space with your email address. The Free plan lets you create one widget.
- In the dashboard, click “+ Connect Instagram account” and connect an Instagram professional account (Business or Creator). A personal account can be switched to a professional account for free in the Instagram app.
- Open “Settings & preview”, choose a grid or a slider, set the number of posts and columns while checking the preview, and save.
- Under “Add the embed code to your website”, click “Copy”. The code looks like this:
<script type="text/javascript" src="https://n246.grip.space/api/v1/instagram/widget/xxxxxxxx"></script>The posts appear exactly where you paste this code. Keep it handy for the next steps.
Add the feed to a page or post (block editor)
- Open the page or post in the WordPress editor.
- Click the + button where you want the feed, search for Custom HTML and add the block.
- Paste the embed code into the block.
- Click Update (or Publish) and open the page to check the feed.
If you use the Classic Editor, switch to the Text tab (not Visual) before pasting, so that the code is not changed.
Add the feed to a sidebar or footer (widget areas)
For themes with widget areas, go to Appearance → Widgets, add a Custom HTML block (or the Custom HTML widget) to the area you want, paste the code and save.
Add the feed to every page (block themes)
With a block theme such as Twenty Twenty-Four, go to Appearance → Editor, open the template or template part you want (for example the footer), add a Custom HTML block there and paste the code. Save the template, and the feed appears on every page that uses it.
Page builders
Page builders usually have their own HTML element (in Elementor, for example, the HTML widget). Paste the embed code into that element.
If your posts do not appear
- Check that the widget is set to Published in the dashboard. An unpublished widget shows nothing.
- Make sure the whole code was pasted, from
<scriptto</script>. - Look at the published page, not the editor. Many editors do not run scripts while you are editing.
- If you use a caching or optimization plugin, clear its cache after adding the code. If the feed still does not show, exclude the embed script from “delay JavaScript” or “combine JavaScript” options.
Get your embed code in a few minutes. The Free plan needs no credit card.
Sign up freeOther guides
SShopifyHow to embed your Instagram feed in Shopify
Show your Instagram posts in your Shopify store: add a Custom Liquid section in the theme editor and paste one embed code. No app needed.
Read the guide →
WWixHow to embed your Instagram feed in Wix
Show your Instagram posts on a Wix site: add an Embed HTML element in the Wix Editor and paste one embed code. No app needed.
Read the guide →
SSquarespaceHow to embed your Instagram feed in Squarespace
Show your Instagram posts on a Squarespace site: add a Code block and paste one embed code. Needs a plan that allows JavaScript in Code blocks (Core or higher).
Read the guide →
WWebflowHow to embed your Instagram feed in Webflow
Show your Instagram posts on a Webflow site: add a Code Embed element in the Designer and paste one embed code. Needs a paid Site plan or Workspace plan.
Read the guide →
HHTMLHow to embed your Instagram feed on any website (HTML)
Show your Instagram posts on any website you can edit: paste one embed code into your HTML where you want the feed. Works with static sites and most site builders.
Read the guide →