Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Formatting Tags

Justin Sternberg edited this page Oct 23, 2018 · 4 revisions

Table of Contents generated with DocToc

You can control the content of the title and content of the imported posts using custom formatting tags (like **insta-image**, **insta-text**, and others).

Add the imported Instagram data using these custom tags:

  • **insta-text** - The Instagram caption
  • **insta-image** - The Instagram image tag
  • **insta-link** - The Instagram image source url
  • **insta-embed-image** - The Instagram image embed for this post (use instead of **insta-image**)
  • **insta-embed-video** - The Instagram video embed for this post
  • **insta-image-link** - The link to the Instagram post
  • **insta-location** - The location where the photo was taken.
  • **insta-filter** - The Instagram filter used.

Or use these conditional tags:

  • [if-insta-text]Photo Caption: **insta-text**[/if-insta-text]
  • [if-insta-location]Photo taken at: **insta-location**[/if-insta-location]

Condtionally add markup based on the Instagram media type.

  • [if-insta-type-image]<a href="**insta-link**" target="_blank">**insta-image**</a>[/if-insta-type-image]
  • [if-insta-type-carousel][gallery link="file" size="large"][/if-insta-type-carousel]
  • [if-insta-type-video]**insta-embed-video**[/if-insta-type-video]

The default template used for the imported Post Content is:

[if-insta-type-image]<p><a href="**insta-link**" target="_blank">**insta-image**</a></p>[/if-insta-type-image]
[if-insta-type-carousel][gallery link="file" size="large"][/if-insta-type-carousel]
[if-insta-type-video]**insta-embed-video**[/if-insta-type-video]
<p>Instagram filter used: **insta-filter**</p>
[if-insta-location]<p>Photo taken at: **insta-location**</p>[/if-insta-location]
<p><a href="**insta-link**" target="_blank">View in Instagram &rArr;</a></p>

Clone this wiki locally