Pro blocks

Instagram FeedPro

How to get and add your Instagram Access Token, set the cache time and number of posts, choose a grid or masonry layout, show captions, an overlay, and a Follow button, and style the feed.

This feature needs the Pro version of WPMozo Blocks and Addons.

On this page

See the Instagram Feed block live on the demo site (opens in a new tab)

Requires: an Instagram Access Token. See Getting an access token.

Getting an access token#

  1. Use an Instagram Business or Creator account connected to a Facebook page.
  2. Create an app in Meta for Developers (opens in a new tab) and add the Instagram product.
  3. Generate a long-lived access token for your account.
  4. Paste the token into the block’s Access Token field.

Long-lived tokens expire after about 60 days unless they are refreshed. If the feed stops loading, generate a new token.

Adding the block#

  1. Click the “+” (Block Inserter) button.
  2. Search for “Instagram Feed” and select it.
  3. Paste your Access Token. Your posts load in the editor.

General tab#

Configuration#

Configuration settings
SettingDescription
Access TokenYour Instagram API token.
Cache (In Minutes)How long posts are stored before Instagram is checked again. A higher value means faster pages and fewer API calls.
Number of PostsHow many posts to show.
No Result TextMessage shown if no posts can be loaded.

Display#

Display settings
SettingDescription
Number of ColumnsPosts per row.
Column Spacing (px)Gap between posts.
Enable MasonryKeeps each post’s original height (Pinterest-style) instead of cropping all posts to squares.
Link Images to InstagramClicking a post opens it on Instagram.
Display CaptionShows the post caption.
Display Follow ButtonAdds a “Follow on Instagram” button.
Enable OverlayShows a color overlay with an icon on hover.

Design tab#

Instagram Item#

Instagram Item settings
SettingDescription
Enable Image/Video HeightForces a fixed height for all posts.
ColorBackground color of each item.
Item Border / RadiusBorder and rounded corners.

When the matching option in Display is on, the Caption, Overlay, and Follow Button panels appear in the Design tab, so you can style those elements (colors, typography, spacing).

Advanced tab#

See Common Advanced Settings.

Was this article helpful?

Updated Nov 2, 2026