Adding Twitter Button to Your Blogger.com-powered Blog

Jun 14, 2010

Now that Twitter offers the "official" button for sharing interesting links, it's time to add this button to your blogspot-powered blogs and stop using third-party providers.

  1. Open your blog settings - "design" - "edit html".
  2. Click the "expand widget templates" checkbox.
  3. Locate this text: <div class='post-footer'>
  4. Paste this right after it:
    <a href="http://twitter.com/share" class="twitter-share-button" expr:data-url="data:post.url" data-count="horizontal" >Tweet</a>
  5. Paste this just before the closing "body" tag:
    <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

0 comments:

Post a Comment