ADVERTISEMENTS
Twitter can be a great source of traffic for your blog.
Now if you want to make it easy for your site visitors to share links of your blog articles on Twitter, follow the instructions below - you don’t need any plug-ins and the post URLs are automatically shortened in the tweet via bit.ly (a good alternative to tinyurl that also provides live traffic statistics).
Now if you want to make it easy for your site visitors to share links of your blog articles on Twitter, follow the instructions below - you don’t need any plug-ins and the post URLs are automatically shortened in the tweet via bit.ly (a good alternative to tinyurl that also provides live traffic statistics).
Go to your Blog Layout -> Edit HTML and click the box that says "Expand widget templates".
Take a backup of your Blogger template. Now search for the class "post-footer" in the Blogger XML template and copy-paste the following snippet somewhere near that class.
<b:if cond='data:blog.pageType == "item"'>
<script charset='utf-8' src='http://bit.ly/javascript-api.js?version=latest&login=tweettrackjs&apiKey=R_7e9987b2fd13d7e4e881f9cbb168f523' type='text/javascript'/>
<script charset='utf-8' src='http://s.bit.ly/TweetAndTrack.js?v=1.01' type='text/javascript'/>
<a expr:onclick='"return TweetAndTrack.open(this, \"" + data:post.url + "\");"' href='#'>
<span style='display:none;'>Reading: <data:post.title/></span>Post Link to Twitter</a>
</b:if>
That’s it. If you want to replace the “Tweet This” link with a graphic of the Twitter bird, add an IMG tag instead of text
0 comments