If you are a blogger then follow the steps below to add this 'Twitter follow button' to your blogger post.
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Click on "Expand Widget Templates"
3.Scroll down to where you see below code:
<div class='post-header-line-1'/>
4.Now Copy your "Tweetmeme Follow Button" code and paste it just below the above code.
NOTE: If you can't find <div class='post-header-line-1'/> in your template, paste your "Tweetmeme Follow Button" code just before <data:post.body/> .
Code 1:
<div style='float:right; margin-right:10px;'>
<script type="text/javascript">
tweetmeme_screen_name = 'yourtwitterusername';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/follow.js"></script>
</div>
Result:
Code 2:
<div style='float:right; margin-right:10px;'>
<script type="text/javascript">
tweetmeme_screen_name = 'yourtwitterusername';
tweetmeme_style = 'compact';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/follow.js"></script>
</div>
Result:
Code 3:
<div style='float:right; margin-right:10px;'>
<script type="text/javascript">
tweetmeme_screen_name = 'yourtwitterusername';
tweetmeme_style = 'square';
tweetmeme_size = '50';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/follow.js"></script>
</div>
Result:
NOTE : Remember to replace yourtwitterusername with your real twitter username.
If you are not a blogger,you can too add this code simply your website.
5.Now save your template and you are done.
0 comments:
Post a Comment