Sunday, October 2, 2011

Facebook Like Button below every post

STEP 1: open design -> edit HTML 

-> expand widgets

3.
click on the text and click CTRL+F and a search box will open in the right corner. search for <data:post.body/>


this you will copy bellow it:

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<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=180&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:180px; height:30px;'/>
</b:if> 
so it looks like this: 



delete now the first and the last row and you are all done.


;)

2 comments:

  1. Thank you, it works ! :) But i have a thing in my mind... how can i see who liked my posts/links?

    ReplyDelete
  2. I would also like to know this. Also how can you decide what image if displayed when the link is liked, as mine randomly grabs images at the mo. Cheers

    ReplyDelete