Docs    Instagram    Documentation

Hide duplicate Instagram photos

Version 2.0 and above

Version 2.0 and above of the plugin will now automatically remove duplicate photos from your feed.

Less than version 2.0

If you’re displaying photos from multiple hashtags then sometimes the same photos may appear in your feed twice. For example, if you’re using the hashtags “#blue” and “#sky” then the same photo may contain both hashtags and so is displayed twice.  You can prevent this by adding the following snippet to the plugin’s Custom JavaScript section, which is on the plugin’s Customize page:

var idArr = [];
  var $self = $(this),
    id = $self.attr('id');
  if( idArr.indexOf(id) == -1 ){
  } else {

Couldn’t find your answer in the docs?

Contact Support

Was this article helpful?