How to add Facebook Like button under every post

Adding Facebook Like button under every post in your Blogger allow the visitors share your content with their Facebook friends. And one more thing, you will know exactly how many people like your specific post.
Now Let's go with me and follow my step:

Step 1: Go to your Blogger Dashboard >> Template >> Edit HTML

Step 2: Click anywhere inside the code area and press "Ctrl + F" to open search box, past tag below and hit Enter find it.
<data:post.body/>
Note: You might find it more than 3 times, but just past the code above the second or the third one.
Add Facebook like button under Blogger post title

Step 3: Just above the second or third part on "<data:post.body/>" past the following code:



<b:if cond='data:blog.pageType != "static_page"'> <iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&amp;send=false&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=35"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:35px;'/> </b:if>

Step 4: Save your template. Your work is done, now you get a simple Facebook like button under you Blogger post.


Enjoyed this post?
Be sure to subscribe to get regular updates delivered to your email inbox, for free.



How to add Facebook Like button under every post How to add Facebook Like button under every post Reviewed by Unknown on 1/23/2015 07:53:00 AM Rating: 5

No comments:

Powered by Blogger.