Add a TwitThis Button to your Blogger posts
Wouldn't it be great if you could add a button to every post that would make it easy for your visitors to share your posts with their followers on Twitter?
The following is instructions to do just that, for Blogger layout based blogs.
Using the information at TwitThis, I was able to tweak their bookmarklet code a bit and use the image from one of the other codes to create this one that works in Blogger.
This will require you to edit the HTML of your template. While I have tried to make this as easy as possible, those that don't feel comfortable with this, should not try it.
The button will only show on post pages and not the main page of your blog. It's not wise to do this any other way, as the URL that will be supplied on Twitter will be the URL of the page in which your button is clicked. If it is on the main page, the post may not be there when someone reads the entry on Twitter or FriendFeed, and it is likely not to win you any new loyal readers, so use this only on post pages.
I have also added some comments in the code that will make it much easier for you to add additional buttons in the future, and have them appear on all pages or just post pages.
NOTE: If you have added the Google Reader code from one of my other posts, then you just need to add only the yellow TwitThis code above or below the Google Reader one. If you have not added that one, then you need to use ALL of the code.
1. On your Blogger Dashboard, click the Layout link for the blog you want to add the button to.
2. At the top of the Layout page, click the link for Edit HTML.
3. Where it says "Backup/Restore Template", click the link that says "Download Full Template" and save the .xml file to your hard drive. This file will help you restore your template, in case anything goes wrong.
4. In the "Edit Template" section, check the box at the top right that says "Expand Widget Templates".
5. Use your browser's search function to find this line:
Popular Posts
-
@pokstrategy Learn how to play poker with solid strategies and pick up your $50 bonus without pay paying a penny!
-
New video teaches #Panasonic GH2 #DSLR camera with Final Cut Pro tips and tricks.
-
Love filmes? All news filmes at our sites? We are fist! Download fast!!! Download The Clinic now! The truth lies within. http://bit.ly/fo2W...
-
Street Dose is one of the best hip hop blogs on the web. It keeps you up to date with the latest rap news and music. http://streetdose.com
-
Best St. Patty T-Shirts PalmerCash has teamed up with Pabst's Beer to create some of the best St. Patty T-shirts ever
-
Great articles shows how to generate free leads monthly with a super simple system. http://shaunmackey.com/articles/mlsp/what-is-mlsp-my-le...
-
Repairs and tuneups your PC Allows you to remove errors automatically or manually Offers comprehensive registry backup utilities
No comments:
Post a Comment