среда, 6 апреля 2011 г.

How to add a retweet button to your blogger posts

Loads of people use twitter these days. A great way to get popularity is to add a 'Retweet' button to your website. Follow this simple to tutorial to find out how!

1. Open up your blogspot dashboard and click on the 'Design' tab and then click on 'Edit HTML'.


2. Find this code using CTRL+F: <data:post.body/> 

 
3. Under that code, paste this one:  

<div style="float:left;padding: 6px 10px 6px 0px;">
<script type="text/javascript">
tweetmeme_url = '<data:post.url/>';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"> </script>
</div>

4. Save changes by clicking 'Save template'.


5. Add this code below to the posts by clicking 'Edit html' on the 'New post' page. When you have pasted this code below, click 'Publish post'.

<script type="text/javascript">
tweetmeme_style = "compact";
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>

Комментариев нет:

Отправить комментарий