Skip to content

Instantly share code, notes, and snippets.

@nicomollet
Last active August 29, 2015 14:07
Show Gist options
  • Save nicomollet/b9b3a366e0c9c29de43c to your computer and use it in GitHub Desktop.
Save nicomollet/b9b3a366e0c9c29de43c to your computer and use it in GitHub Desktop.
Addthis: sharing buttons with custom order
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">
<a class="addthis_button_email"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_linkedin"></a>
<a class="addthis_button_facebook_like"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_button_linkedin_counter"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:url="http://www.apple.com" pi:pinit:media="http://images.apple.com/home/images/hero.jpg" pi:pinit:layout="horizontal"></a>
<a class="addthis_button_facebook_like" fb:like:layout="box_count"></a>
<a class="addthis_button_tweet" tw:count="vertical"></a>
<a class="addthis_button_google_plusone" g:plusone:size="tall"></a>
<a class="addthis_button_linkedin_counter" li:counter="top"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:url="http://www.apple.com" pi:pinit:media="http://images.apple.com/home/images/hero.jpg" pi:pinit:layout="vertical"></a>
</div>
<script type="text/javascript">
var addthis_config = addthis_config || {};
addthis_config.data_track_clickback = false;
addthis_config.data_track_addressbar = false;
addthis_config.ui_language = 'fr';
addthis_config.ui_508_compliant = true;
</script>
@nicomollet
Copy link
Author

Custom order version: select the order of the sharing buttons
1/ Create an Addthis profile
2/ Pick the services you need with the addthis_button_* buttons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment