Instagram Feed in WordPress

Create your Instagram Feed plugin
Screenshots
Instagram Feed in WordPress for Any Theme or Builder
Add Instagram photos, videos and reels to your WordPress website without installing another plugin – the feed goes into the standard Custom HTML block of the page editor.
It works the same in classic and block themes. In Elementor you use the HTML element of the free version, and in WPBakery the Raw HTML element.
One Elfsight account can run on many websites, because a cloud widget can be installed on any number of domains. When you change the feed in Elfsight, it updates on every page where the code is installed.
Instagram Feed Plugin Features
- Usernames, hashtags and mentions – show a feed by username, hashtag or mentions and tagged content, and combine up to five accounts or hashtags in one feed.
- Show and Hide Posts filters – include or exclude posts by specific words, hashtags or post URL.
- Design controls – change layouts, switch color schemes, use your own colors and turn elements on or off.
- CTA buttons – add a call-to-action button to each post, linking to a product page, blog or other media.
- Reels and carousels – all media types display, and you can filter by media category.
- Responsive layout – the feed adapts to any screen size.
- Automatic sync – the feed refreshes every 48 hours and uses caching to load pages faster.
Try the editor to see how it works.
Made for WordPress
- Custom HTML block – paste the code into the standard block of the page editor, in classic and block themes alike. No extra plugin needed.
- Elementor and WPBakery – use the HTML element in the free version of Elementor or the Raw HTML element in WPBakery.
- One account, many websites – a cloud widget can be installed on any number of domains.
- Updates everywhere – changes you make in Elfsight update the feed on all pages where the code is installed.
- WordPress.com – the code works on paid, plugin-enabled plans with hosting features activated.
How to Add Instagram Feed to WordPress
Build your feed in the Elfsight editor, save it and copy the complete installation code from your dashboard. Then choose the method that matches your WordPress editor or theme.
Good to know: On WordPress.com, custom JavaScript requires a paid, plugin-enabled plan with hosting features activated – not only Business or Commerce. On self-hosted WordPress, your account must have permission to save scripts. Check the feed on the published page, as it may not appear inside the editor.
Method 1: Add the feed to one page with Custom HTML
- In your WordPress dashboard, go to Pages and open the page for editing.
- Click + and select Custom HTML.
- Position the block where the feed should appear.
- Paste the complete installation code into the block. In WordPress 7.0 and later, click Edit HTML, paste the code into the HTML panel and click Update.
- Save or publish the page.
- Open the published page to check the feed.
Method 2: Add the feed with WPBakery
- Go to Pages and open the page with Edit with WPBakery Page Builder.
- Click + where you want the feed and search for Raw HTML.
- Add the element and paste the complete installation code into its field.
- Save the element and close its settings.
- Click Update, then check the published page.
Method 3: Add the feed to a shared widget area in a classic theme
Use this method if your theme provides a footer or another widget area shared across pages.
- Go to Appearance → Customize → Widgets.
- Select the footer or another suitable widget area.
- Add a Custom HTML block or widget.
- Paste the complete installation code.
- Click Publish and check the result.
The feed appears on pages that include the selected widget area. Pages using a different layout or no footer may not display it.
Method 4: Add the feed to a shared footer in a block theme
- Go to Appearance → Editor.
- Open Patterns → Template Parts and select your footer.
- Edit the footer and add a Custom HTML block where the feed should appear.
- Paste the complete installation code.
- Save the block changes and the footer.
- Check the published pages that use this footer.
Updating a shared footer adds the feed to every template that includes it. If your website uses different footers, add the feed to each relevant footer separately.
Using Elementor? Follow the instructions on our Elementor Instagram Feed page.
After installation, open your website in a private window. If the feed does not appear, clear your caching plugin’s cache and check again.
For more detail, read our guide on how to embed an Instagram feed on WordPress. Still need help? Contact Elfsight support for installation assistance.