Hey Thomas,
I’m afraid this isn’t possible with either version of the plugin. The Instagram API that we use is read-only and so it isn’t possible to use the plugin to like or comment on the photos directly on your website. You’d have to click on the photo and then like or comment on the Instagram platform itself.
If you have any other questions then just let me know.
John
Thanks for the reply John.
Would it then be possible to make every Instagram image link to a single post, so that one could use a plugin like this: https://wordpress.org/plugins/wp-postratings to have the competition?
Hey Thomas,
Yep, you can do this using the plugin’s Custom JavaScript section, which is on the plugin’s Customize page. Each item in the feed has a unique ID and so you can add a snippet which changes the link on the photo in that item. For example:
$('#sbi_1003156351259591986_13460080 .sbi_photo').attr('href', 'https://smashballoon.com');
To link all of the photos to the same page, you could just use the following snippet instead:
$('#sb_instagram .sbi_photo').attr('href', 'https://smashballoon.com');
If you have multiple Instagram feeds and want photos in each feed to link to different pages then you can add a class in the shortcodes like so:
[instagram-feed class="feed1"]
[instagram-feed class="feed2"]
And then target that feed in the JavaScript:
$('#sb_instagram.feed1 .sbi_photo').attr('href', 'http://site.com/1');
$('#sb_instagram.feed2 .sbi_photo').attr('href', 'http://site.com/2');
Let me know whether that makes sense.
John