Buying Domains

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 9 October 2010

How to Add Official Tweet Button to Blog

Posted on 01:13 by Unknown
How to add Tweet Button on Blogger blog?
How to add Tweet Button on Blogspot blog?
How to add official Tweet Button on Blogger blog?
How to add official Tweet Button on Blogspot blog?

You want to add the official Tweet Button at the end (or at the top) of each of your blog post, here's how.

official tweet button

Firstly, go to Dashboard > Design > Edit HTML. Then click Expand Widget Templates.

Search for this code:

<data:post.body/>
<div style='clear: both;'/> <!-- clear for photos floats -->

Then, here's the code to add the Tweet Button.

<div style='align:left;'>
<a class='twitter-share-button' data-count='horizontal' data-lang='en' data-via='simpleblogrtips' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share' rel='nofollow'>Tweet</a>
<b:if cond='data:post.isFirstPost'>
<script src='http://platform.twitter.com/widgets.js' type='text/javascript'>
</script>
</b:if>
</div>

Take note that the code is different from the code generated on Twitter Tweet Button page because it is modified for better performance.

---

Where to add Tweet Button?

To add it above each blog post, add the code before <data:post.body/>.

To add it after each blog post, add the code after <div style='clear: both;'/> <!-- clear for photos floats -->.

To distance the button away from the blog post, add <br/> before or after the Tweet Button code depending on where to put it.

Click "Save Template" and you're done.

---

How to customize Tweet Button?

1) To change button style, change "horizontal" to "vertical" or "none".

twitter button vertical
vertical

twitter button horizontal
horizontal

twitter button
none

2) To change via Twitter account, change "simpleblogrtips" to your preferred Twitter account.

That's all for now!
Email ThisBlogThis!Share to XShare to Facebook
Posted in Twitter, Widgets | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Guide to Using INNIT @ Nuffnang
    In order to fully utilize INNIT , the blog aggregator, by Nuffnang, you have to obtain Glitterati status first. Here's more or less the...
  • Metered Campaigns VS CPC Campaigns
    Many are unsure about the differences between a Metered Campaign and a CPC Campaign. Here are the explanation. Metered Campaigns Metered cam...
  • OnBux Down Forever?
    Yes, OnBux is down for quite some time already and one could only wonder - was it intentionally done? Was the hard-clicked money earned by t...

Categories

  • About.me
  • Advertisement
  • Alexa
  • Blog Signature
  • Blogger
  • Blogger in Draft
  • Blogger Template Designer
  • Bloggerunited
  • Comments
  • Customize - Background
  • Customize - Blog Width
  • Customize - Comments
  • Customize - Label
  • Customize - Others
  • Disqus
  • Domain
  • Earn Money Online
  • Facebook
  • Favicon
  • Feed
  • Feed Count
  • FeedBurner
  • Flavors.me
  • Flickr
  • Gaining Traffic
  • Google
  • Google Analytics
  • Google Page Rank
  • Google Webmaster
  • Gravatar
  • Guides
  • Imageshack
  • Intense Debate
  • JS-Kit
  • Lightbox
  • Links
  • NeoBux
  • Nuffnang
  • Onbux
  • One Stat
  • Photobucket
  • Photos
  • Picasa
  • Post Password
  • Posterous
  • Profile Page
  • Recent Posts
  • Refresh
  • Site Meter
  • Sitemap
  • Skydrive
  • Stat Counter
  • Statistics
  • Table
  • Templates
  • Tinypic
  • Top Commenters
  • Traffic
  • Tumblr
  • Twitter
  • Web Hosting
  • Widgets
  • Wordpress

Blog Archive

  • ►  2011 (12)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (2)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ▼  2010 (29)
    • ►  December (4)
    • ▼  October (1)
      • How to Add Official Tweet Button to Blog
    • ►  September (5)
    • ►  August (3)
    • ►  July (2)
    • ►  June (1)
    • ►  May (5)
    • ►  April (3)
    • ►  March (5)
  • ►  2009 (33)
    • ►  November (1)
    • ►  September (3)
    • ►  August (4)
    • ►  July (5)
    • ►  June (10)
    • ►  May (10)
Powered by Blogger.

About Me

Unknown
View my complete profile