Pageviews

Wednesday 15 January 2014

How to Add Facebook like button below Post Titles in Blogger

by Unknown  |  in Blogger at  Wednesday, January 15, 2014

As you all know,sharing is becoming a trend.If you want to drive traffic to your site or Blog,then you definately need to share your posts on your Facebook page,for getting good traffic,you need good amount of "Likes" for your Fb page.

So whenever a user comes to visit your Blog,if he likes your stuff must also see an Fb like button on your Blog,so here are some simple steps to add Fb like button on your Blogger.

1.First of all go to your Blogger Dashboard > Template > Edit Html.



2.After a box will open,which will consist of coding of your Layout,now press Ctrl+F and search for this following tag.

<data:post.body/>
NOTE: You might find more than 3 occurences of the tag in your code,just stop at the second and paste the following code in it
<p><iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp; action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:100px; height:20px;'/></p>

 3. Save your Template and you are done.











1 comment:

Proudly Powered by Blogger.