Docs    Instagram    Customizations

Add “Follow on Instagram” Button to a Hashtag Feed

If you would like to add a “Follow on Instagram” button below a hashtag feed, use this snippet customized to what account you want to link it to.

Add the following to the plugin’s “Custom JavaScript” setting, which can be found at: Instagram Feed > Customize > Advanced > Custom JavaScript.

$('.sbi').each(function() {
  if (! $(this).find('.sbi_follow_btn').length) {
    $(this).find('#sbi_load').append('<div class="sbi_follow_btn"><a href="https://instagram.com/puma" style="" target="_blank"><i class="fa fa-instagram"></i>Follow on Instagram</a></div>');
  }
});

The user name of the account you want the button to link to.
The text for the button.

Technical Support

Still have questions? We are here to help you succeed.

Open a support ticket