Display the Instagram feed in your sidebar with a widget or post content via a shortcode, including your Instagram profile image, number of followers, as well as number of comments and likes per each image in the feed.
Please refer to this page for more information.
Instagram API
Powerkit doesn’t require any API connection to display the Instagram feed by default.
In some rare cases, however, it may fail to fetch data from the Instagram server, and thus using the Instagram API is required.
It’s very easy to connect your Instagram account:
- Go to Settings → Connect → Instagram.
- Connect your personal or business account.
Important Note
When connecting via the API, the number of followers in the feed and social links, profile image, number of likes, and comments are available to Instagram business accounts only.
Please make sure you link your Instagram business account to a Facebook page. This is required to display the additional data such as number of followers, profile image, number of likes, and comments. Please follow this link to learn more about linking your Instagram account to a Facebook page.
When connecting via the API, you may display the Instagram feed or number of followers in the Social Links of an account that you own. You’re unable to display data from an Instagram account, which you do not own.
Widget
This feature is available in themes that support widgets only.
You may display your Instagram feed with a widget in your sidebar by following these steps:
- Navigate to Appearance → Widgets.
- Drag the Instagram widget to the desired widget area.
- Configure available widget options and click Save.
Shortcode
You may also add your Instagram feed in post or page content by adding the following shortcode:
[[powerkit_instagram user_id="envato" number="4" columns="1" size="small" target="_blank" cache_time="60" template="default"]]
Accepted Attributes
user_id (Required)
User ID. Default is none
.
number
Number of photos. Maximum 12. Default is 4
.
columns
Number of columns. Default is 1
.
size
Photo size (thumbnail, small, large). Default is small
.
target
Open links in a new or same window (_blank
or _self
). Default is _blank
.
template
Template names. Default is default
.
cache_time
Cache Time (minutes). Default is 60
.