This repository was archived by the owner on Feb 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Formatting Tags
Justin Sternberg edited this page Oct 23, 2018
·
4 revisions
Table of Contents generated with DocToc
- Add the imported Instagram data using these custom tags:
- Or use these conditional tags:
- Condtionally add markup based on the Instagram media type.
- The default template used for the imported Post Content is:
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).
-
**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.
[if-insta-text]Photo Caption: **insta-text**[/if-insta-text][if-insta-location]Photo taken at: **insta-location**[/if-insta-location]
[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]
[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 ⇒</a></p>