Header Ads

How To Add Twitter Button To Blogger

Beside Facebook like (or recommend)and google+ twitter's button also might be very useful for bloggers. Twitter is a very effective tool to share contents and to generate traffic.

  twitter


Visit the Template option in Edit HTML section and select the Expand Widget Templates option.

Search data:post.body in the blog template and add the following code above or below it.


<a href="https://twitter.com/share" class="twitter-share-button" data-via="weusegadgets">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>


Please replace WEUSEGADGETS with your twitter name.

No comments:

Powered by Blogger.