Monday, June 20, 2011
How to put the Retweet Button in your Posts
Today I'm going to explain you how to put a Retweet button in your posts header.
The way to do this it's similar to the "Like" button of Facebook that I have already explained.
With the Retweet button your readers may share your posts in their twitter profiles.
First of all in blogger go to Layout>Edit HTML and check the "expand widget templates" box.
Search the <div class='post-header-line-1'/> tag in your template using your browser search function.
If you can't find that tag look for this: <data:post.body/>
Immediately after paste the following code:
<div style="float:right;padding:4px;"> <script type="text/javascript"> 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>
And change the "YOUR TWITTER USER NAME" text by your user name of Twitter.
Changing the "right" by left, the retweet button will appear at the left.
Save your template and now you got the Retweet button!
It's simple to do and your readers will use it.
0 Comments:
Post a Comment