oui_instagram
Easily display Instagram recent images galleries.
Plugin requirements
- required: Textpattern CMS 4.6+.
- recommended: aks_cache or any partial caching system.
Installation
From the admin interface
- Download the compiled plugin file or the source to compile a customized file.
- Paste the content of the compiled plugin file under the "Admin > Plugins":?event=plugin tab and click the Upload button.
- Confirm the plugin install by clicking the Install button on the plugin preview page.
- Enable the plugin and click Options or visit your Admin > Preferences tab to fill the plugin prefs.
Via Composer
After installing Composer…
- Target your project directory:
$ cd /path/to/your/textpattern/installation/dir
- If it's not already done, lock your version of Txp:
$ composer require textpattern/lock:4.6.2
, where4.6.2
is the Txp version in use. - Install oui_instagram:
$ composer require oui/oui_instagram
- Connect to the Txp admin interface and click Options or visit your Admin > Preferences tab to fill the plugin prefs.
Documentation
Check the embedded Help file for more informations.
Examples
Single tag use
// Instagram username as a link to the related account.
<txp:oui_insta_user />
// List of recent Instagram images linked to their related Instagram pages.
<txp:oui_insta_images />
Container tag use
// Instagram avatar as a link to the related account.
<txp:oui_insta_user>
<txp:oui_insta_user_info type="avatar" link="Instagram" />
<txp:oui_insta_user>
// List of recent Instagram images linked to their related Instagram pages.
// Each image is folowed by its caption, its author and its post date.
<txp:oui_insta_images>
<txp:oui_insta_image_url><txp:oui_insta_image /></txp:oui_insta_image_url>
<txp:oui_insta_image_info />
<txp:oui_insta_image_author />, <txp:oui_insta_image_date />
</txp:oui_insta_images>
Author
Nicolas Morand Thank you to the Textpattern community and the core team.
License
This plugin is distributed under GPLv2.