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 JavaScript to your site. This can be done manually using a custom JavaScript plugin. For further information see our documentation here.

$('.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.

support

Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?