Skip to content

Instantly share code, notes, and snippets.

@fmtarif
Created April 29, 2014 14:29
Show Gist options
  • Save fmtarif/11402068 to your computer and use it in GitHub Desktop.
Save fmtarif/11402068 to your computer and use it in GitHub Desktop.
addthis buttons
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" style="height:85px;">
<a class="addthis_button_facebook"></a><!--FB share has issues with title and desc-->
<a class="addthis_button_twitter"></a>
<a class="addthis_button_pinterest_share"></a>
<a class="addthis_button_email"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_compact"></a>
</div>
<!-- AddThis Smart Layers BEGIN -->
<!--register at https://www.addthis.com/register and add your pubid in the following include-->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=[your-pubid-here]"></script>
​<script type="text/javascript">
var addthis_config = addthis_config||{};
addthis_config.data_track_addressbar = false;
addthis_config.data_track_clickback = false;
</script>
<script type="text/javascript">
var addthis_share = {
title: "share title"
,url: "http://share-urldotcom"
,description: "share desc"
}
</script>
<!-- AddThis Smart Layers END -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment