RSS

How to add a Twitter share button to your blog

Twitter Button gives you more exposer
Want a Twitter share button on your blog...well here's how.

  • Go to your Dashboard>>Design>>Edit HTML
  • Then check the Expand Widget Template box and start searching your code for this '<div class='post-header-line-1/>' or '<data:post.body/>' and paste your code below it with no spaces
  • Now don't save it yet! 1st you have to change ' your_twitter_username' and replace it with your twitter username while keeping the underscores. 
  • Once you've added your twitter username you can click Save Template. 



This code will post the retweet button on the upper left corner of your blog posts


<div style="float:left;padding:4px;">
<script type="text/javascript">
tweetmeme_style = 'compact';
tweetmeme_url = '<data:post.url/>';
tweetmeme_source = 'your_twitter_user_name';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
</div>


This code will post the retweet button on the upper right corner of your blog posts


<div style="float:right;padding:4px;">
<script type="text/javascript">
tweetmeme_style = 'compact';
tweetmeme_url = '<data:post.url/>';
tweetmeme_source = 'your_twitter_user_name';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
</div>

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comments:

Post a Comment