Documentation

How to use and configure the Intagrate WordPress plugin

Content Examples: Post Templates for Intagrate Pro

Avatar
Written by Iain
Last updated 05 Dec 2026

Each Intagrate account has a content template: the editor on the account screen, where text, HTML and template tags decide what every post it creates contains. These content examples are templates to copy and adapt. Paste them into the editor’s Text tab, not Visual, so the HTML stays as written.

Templates apply to posts created from then on. Posts Intagrate has already made don’t change.

The default

A new account starts with this:

[igp-video src="%%video%%" poster="%%image%%" size="large"]<a href="%%instagram-image-url%%" title="%%caption-no-tags-escaped%%" target="_blank"><img alt="%%caption-no-tags-escaped%%" src="%%image%%" class="%%instagram-media-type%% %%image-class%%"></a>

For a video post it shows the video. For anything else it shows the image, linked to the image file on Instagram.

That link stops working after a while, because Instagram’s links to its files expire. Link to the post on Instagram instead, with %%instagram-url%%:

[igp-video src="%%video%%" poster="%%image%%" size="large"]
<a href="%%instagram-url%%" target="_blank" rel="noopener"><img alt="%%caption-no-tags-escaped%%" src="%%image%%" class="%%instagram-media-type%% %%image-class%%"></a>

Two details make it work:

  • The %%instagram-media-type%% class is video on a video post, and Intagrate’s video styles hide img.video, so the cover image doesn’t show under the video.
  • %%image-class%% lets WordPress serve responsive image sizes. It needs Save Instagram Media to Media Library ticked in the account’s Post Settings, which also keeps images working: without it, they load from Instagram.

Image and caption

The image, then the caption without its hashtags, then a link to the post:

<img alt="%%caption-no-tags-escaped%%" src="%%image%%" class="%%instagram-media-type%% %%image-class%%">
<p>%%caption-no-tags%%</p>
<p><a href="%%instagram-url%%" target="_blank" rel="noopener">See it on Instagram</a></p>

If the post title is the caption too (%%caption%%, the default), the caption appears twice. Either set the title to plain text, or split the caption so its first sentence becomes the title and the rest the content.

Videos

Intagrate Pro imports Instagram videos and Reels. The [igp-video] shortcode plays them with WordPress’s own video player:

[igp-video src="%%video%%" poster="%%image%%" size="large"]
  • src is the video, %%video%%. For anything that isn’t a video it’s empty, and the shortcode shows nothing.
  • poster is the image shown before it plays: %%image%% is the video’s cover.
  • size is small (320 px), medium (460 px) or large (620 px, the default). Or set width and height in pixels.

To show the video on a video post and the image on everything else, put the image after it with the %%instagram-media-type%% class, as the default does:

[igp-video src="%%video%%" poster="%%image%%" size="large"]
<img alt="%%caption-no-tags-escaped%%" src="%%image%%" class="%%instagram-media-type%% %%image-class%%">

With Save Instagram Media to Media Library ticked, videos are saved to your media library too, so %%video%% is your own copy. Reels that use a song from Instagram’s music library come through as their cover image only, because Instagram doesn’t give apps those videos. See importing Instagram videos and Reels.

Carousels

For posts with several images or videos, use %%carousel%%. It shows them as a slider or one after another, depending on the account’s Carousel Style. Put it with the single-media template so every kind of post is covered:

%%carousel%%
[igp-video src="%%video%%" poster="%%image%%" size="large"]
<img alt="%%caption-no-tags-escaped%%" src="%%image%%" class="%%instagram-media-type%% %%image-class%%">

Multiple images and videos has more on carousels.

Instagram’s embed

To show the post as Instagram’s own embed, the same box you see when a post is embedded on any website:

[igp-embed url="%%instagram-embed-url%%" width="540" height="700"]

It loads from Instagram every time someone views the post, and shows nothing if the Instagram post is deleted. The width and height default to 612 and 710 pixels.

A gallery page

%%gallery%% adds a WordPress gallery of every image saved to the post. With Multiple Media set to Same Post (or Same Page), this builds a page that grows with your Instagram: see creating a WordPress gallery.

Excerpt

The Excerpt box takes template tags too, for themes that show excerpts in archives and search results:

%%caption-no-tags%%

Custom fields

To put Instagram details in fields your theme displays, use the ACF Fields box with Advanced Custom Fields.

Without ACF, the Custom Fields For Template Tags box saves plain custom fields (post meta). Add a name, such as ig_url, with a template tag as its value, such as %%instagram-url%%. If you don’t see the box, turn it on under Screen Options at the top of the account screen. Your theme can then show it:

echo esc_url( get_post_meta( get_the_ID(), 'ig_url', true ) );

Maps

Posts imported before March 2020 may contain Google Maps of where the photo was taken. Instagram no longer gives apps locations, so new posts can’t have them. Older maps need a Google Maps key: see Google Maps API Key in the settings guide.

  • Contents
  • Intagrate Lite
    There is a community support forum for the free version of the plugin available. Community Support
  • Something else?
    Can’t find what you are looking for in the documentation?
Open a Suport Ticket

Let's get you started

Start publishing your Instagram media to your site today