Visit My New website ...............

http://sudipbhusal.com.np

Sunday, July 22, 2012

Facebook Like Button for Blogger Posts

While posting article on blog you may want to make, "viewers to Like and Share  your article . Now a days Facebook is one of Famous medium to share your article among your viewers and friends which will surely help to increase your blogger traffic. So friend here i am going to write How to enable Facebook like buttom for blogger posts .
                       Here the step by step guide 

   


  • Go to Blogger Dashboard > Design > Edit HTML
  • First take a backup of your template
  • Tick the expand widget check box

  • Find for below code in your template



                Search (Ctrl + F) for

                 <data:post.body/>  



                                                                                                                                                                     Immediately below that place the Following  code. 



                 
                                 Vertical Count


                



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



                                         Horizontal Count



 


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




                                    Without Count

 




<b:if cond='data:blog.pageType != &quot;static_page&quot;'> <iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.canonicalUrl + &quot;&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&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:35px;'/> </b:if>




                          Thank you Friends....