Last active
September 6, 2016 13:36
-
-
Save stephandesouza/2fc18738dd5483e9f5ac5b5bcf4a2426 to your computer and use it in GitHub Desktop.
jQuery Sharer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Para o caso do Pinterest DEVEMOS informar se estamos no escopo de um single, ou archive (caso não usado Wordpress), | |
pois no modo Archive ele deve considerar somente a foto informada no data-thumb, enquanto no single ele pode aceitar | |
qualquer imagem do conteúdo (ver JS) | |
--> | |
<body class="single"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="nav nav-sharing" | |
data-thumb="{{thumb}}" | |
data-url="{{url]}" | |
data-title="{{title}}" | |
data-description="{{description}}"> | |
<li> | |
<a role="button" class="btn btn-facebook"> | |
<i class="fa fa-facebook" aria-hidden="true"></i> | |
<span class="sr-only">Compartilhar no Facebook</span> | |
</a> | |
</li> | |
<li> | |
<a role="button" class="btn btn-twitter"> | |
<i class="fa fa-twitter" aria-hidden="true"></i> | |
<span class="sr-only">Compartilhar no Twitter</span> | |
</a> | |
</li> | |
<!-- Negamos Google Plus no Mobile --> | |
<li class="hidden-xs"> | |
<a role="button" class="btn btn-googleplus"><i class="fa fa-google-plus" aria-hidden="true"></i> | |
<span class="sr-only">Compartilhar no Google Plus</span> | |
</a> | |
</li> | |
<li> | |
<a role="button" class="btn btn-pinterest"> | |
<i class="fa fa-pinterest" aria-hidden="true"></i> | |
<span class="sr-only">Compartilhar no Pinterest</span> | |
</a> | |
</li> | |
<!-- Whatsapp Somente no Mobile --> | |
<li class="visible-xs"> | |
<a role="button" class="btn btn-whatsapp"> | |
<i class="fa fa-whatsapp" aria-hidden="true"></i> | |
<span class="sr-only">Compartilhar no Whatsapp</span> | |
</a> | |
</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment