Docs    Instagram    Customizations

Hide Posts Based on Number of Likes

Hide posts with fewer than the number of likes you specify.


var minimum_likes = 100;
jQuery('#sb_instagram .sbi_item').each(function(){
  var likes = parseInt(jQuery(this).find('.sbi_likes').text());
  if(likes < minimum_likes) {

Minimum number of likes for the post to be displayed.

Technical Support

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

Open a support ticket