Skip to content

Instantly share code, notes, and snippets.

@luizfaias
Last active October 13, 2017 13:34
Show Gist options
  • Save luizfaias/b6525af37a11bc75ae1659d00f190787 to your computer and use it in GitHub Desktop.
Save luizfaias/b6525af37a11bc75ae1659d00f190787 to your computer and use it in GitHub Desktop.
<div id="instagram-feed" class="hide listagem">
<div class="titulo-categoria borda-principal cor-principal">
<strong>Siga-nos no Instagram <a href="https://instagram.com/meluorganicos">@meluorganicos</a></strong>
</div>
<!-- SnapWidget -->
<script src="https://snapwidget.com/js/snapwidget.js"></script>
<iframe src="https://snapwidget.com/embed/348522" class="snapwidget-widget" allowTransparency="true" frameborder="0" scrolling="no" style="border:none; overflow:hidden; width:100%; margin-top: 10px;"></iframe>
</div>
<script type="text/javascript">
$(document).ready(function() {
if($('#rodape').length && $('#rodape .pagamento-selos').length) {
$('#instagram-feed').removeClass('hide').insertAfter('#depoimentos');
} else {
$('#instagram-feed').remove();
};
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment