With Custom iFrame, you can embed an Instagram post in WordPress and display live social content, product photos, or announcements directly on your site.
Quick Summary
Step-by-step guide to embed an Instagram post in WordPress.
1. Copy the Instagram post link.
2. Install and activate the Custom iFrame plugin.
3. Open your page in the Gutenberg block editor and add the Custom iFrame block.
4. Paste the Instagram post URL into the Source field.
5. Adjust settings and customize the display.
6. Save and publish your page.
Step 1: Get the Instagram Post Link
- Open Instagram at https://www.instagram.com/.
- Navigate to the post you want to embed.
- Click the Share icon on the post, then click Copy Link.
Step 2: Install the Custom iFrame Plugin and Add the Block
- Go to your WordPress dashboard.
- Navigate to Plugins, then Add New.
- Search for “Custom iFrame by Coderz Studio” and press enter.
- Click Install Now, then click Activate.

- Open your page in the Gutenberg block editor.
- Click the Add Block button and search for Custom iFrame.
- Click the Custom iFrame block to add it to the page.
Step 3: Embed Instagram Post in WordPress
- Select the Custom iFrame block on your page.
- In the Source field, paste the Instagram post URL you copied earlier.
Your Instagram post will appear inside the Gutenberg editor immediately.
Step 4: Adjust Settings & Publish
Once the Instagram post is embedded, you can configure the display settings in the Gutenberg block panel.
Height: Set the iframe height to match the size of your post and page layout.
Scroll Bar: Enable or disable the scrollbar inside the embedded content.
Refresh Interval: Set how often the iframe refreshes. Useful if the post content updates.
Smart Load: Enable lazy loading so the iframe loads only when it enters the viewport.

Want to add a custom watermark, device frame, or full screen button? Check out the advanced options in our Complete Custom iFrame for Gutenberg Guide.
Update or Publish the page. Your Instagram post is now live on your WordPress site.
This guide showed you how to embed an Instagram post in WordPress using the Custom iFrame plugin. From copying the post link to configuring the iframe and publishing, the setup takes only a few minutes.

