Note For Indian Visitors

Due to the ban on adf.ly in india, Indian users will not be able to view the links directly. To access the links, kindly put https:// before the adf.ly urls OR replace adf.ly with v1.adf.ly to open download links in my site.

Put Like & Tweet Box for Every Post On Blogger Homepage

Like & Tweet Box
Like, Tweet and +1 are the three main online systems for spreading your post all over the world, more likes and tweets you have more post is shared and you will get more views. So today I am sharing the like and tweet box which you might have seen on many blogs. So here you go with the codes and tutorial below.

1. Go to Blogger > Template > Edit HTML
2. Now click Expand Widget Templates and press Ctrl + F and search for ]]></b:skin> tag and paste the below code right above it.
.post-homepage-share{box-shadow: 0 5px 5px -5px #999;-webkit-box-shadow: 0 5px 5px -5px #999;-moz-box-shadow: 0 5px 5px -5px #999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;float:right;width:130px;height:65px;background: #f9f9f9;border:1px solid #ddd;margin:5px 0 0 10px;padding:5px 10px 2px 0}
3. Now again make a search for <div class='post-header'> and paste the below code right below it.
<b:if cond='data:blog.pageType != &quot;item&quot;'><div class='post-homepage-share'><span style='float:right'><a class='twitter-share-button' data-count='vertical' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share'/></span><span style='float:right;padding-right:5px'><div class='fb-like' data-font='verdana' data-layout='box_count' data-send='false' data-show-faces='false' expr:href='data:post.url'/></span></div></b:if>
4. Now codes are placed and you can save your template, now refresh your blog and see if like and tweet box has loaded or not, if you think that the box is getting too much up or too much low you can change the margin value in the above code in red color.
Note: Using these Like and Tweet for every single post on your blog may make your blog a little slow, as everytime a person loads your homepage additional requests for like and tweet buttons will be carried out so try using it if it fits best than enjoy :)

0 comments:

Post a Comment

Download Our Android App

download our android app

Online Reputation

ashutoshthehacker.com Webutation

Site Protected..!! Don't Copy

Contact Form

Name

Email *

Message *