1. Login to your blogger account and click on "Design"2. Click on "Edit HTML"
3. Check the box labelled "Expand Widget Template"
4. Like I always say, back up your template before making changes in case something goes wrong
5. Press CTRL + F and search for <data:post.body/>
If you're using a magazine style template or used the automatic read more hack I posted, you might find two pr more <data:post.body/> in your template. You should try both to know which one works. The second works on my template though.
6. If you want the facebook like button to appear on top of your blog post, paste the code below above <data:post.body/>
<b:if cond='data:blog.pageType == "item"'><div><iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:400px; height:27px;'/></div></b:if> <br/>
7. If you prefer to see the like button below your blog posts, paste this code below <data:post.body>
<br/> <br/> <b:if cond='data:blog.pageType == "item"'><div><iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action=like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:400px; height:27px;'/></div></b:if> <br/>
8. You might as well put it in both positions. Save your template and view the change on your blog.













Don Caprio's just another regular dude, an average person like everybody else and I live in The World's Most Populous Black Nation.
I started blogging late 2009, I'm still loving it and I'm the type of guy that'll love to have my computer inside my coffin when I die.Don't smile, it ain't no joke.
You can add me as friend on
10 comments:
Thanx 4 ur nice article, can u tell me how i can add facebook like button 2 my magazine template?
i havent
as u can c in my homepage, the button doesnt recognize the url of the individuals posts, I will appreciate ur help :)
http://www.7zero-fa.blogspot.com
you probably removed
from the code. that's the part that hides it from your homepage.
And you should have two or three in your template since it's magazine style. Try them one after the other to know which one works for your template
very usefullll blog!
thanks for adsense.
Now I want to know that how to get wap.yourdomain.com(subdomain for other sites) in wapka.
IT doesn't work for me. i saw this error
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The reference to entity "layout" must end with the ';' delimiter.
Hey am timothy from jos plateau state.i have to admit you are doing a job here,i realy want 2 be blogger but i wish one dax u could come to jos for semina.thanks.i want 2 have ur phone number.
@میر امامی and Emmanuel. There was actually a mistake in the code and it'd been duly fixed. it's now working perfectly.
@Suyog. you'll need to create a CNAME for that instead of changing your nameservers.
@Yes. thanks for the compliment.
Hey, very nice site. I came across this on Google, and I am stoked that I did. I will definately be coming back here more often. Wish I could add to the conversation and bring a bit more to the table, but am just taking in as much info as I can at the moment.
iso 9000
Thanks for sharing, very helpful to us on how to add facebook like button in our sites. I really appreciate your help.
Post a Comment