INSTALLING FACEBOOK LIKE BUTTON
Facebook is the fastest growing social networking website. A presense of your website in face book give a good impression to the viewers. If you have lots of followers in facebook, then that shows your site popularity.
Facebook provides "Like Box" service, so that users can link their website to facebook and promote the website contents, Using "Share" and "Like" options contents can be shared across various communities and friend groups in facebook. Once a user "Likes" your website post, immediately the people in the friend groups of th eperson who "liked" your post will get an intimation.
So there is a chance that several people may look into the "Liked" site and it may driver visitors to your website.
Adding Like Button to Wordpress Themes
It is very easy to install the facebook like button on your wordpress theme.
Simply do the following:
find the file "single.php" and add the following code in that
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&layout=standard&show-faces=true&width=530&height=60&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:530px; height:60px"></iframe>
Adding Like Button to Blogger Blog Templates
Login to your blogs admin area and go to Design option in blogs dashboard. Click on edit HTML and select expand widget option. In the HTML contents find the following section:
<b:if cond='data:blog.pageType == "item"'>
..................
.................
....</b:if>
in that section add the following code:
<iframe expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show-faces=true&width=530&height=60&action=like&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px' allowTransparency='true'></iframe>
and Save your template.
-- -- -- -- -- -- -- -- --
The above codes for blogger and wordpress are in general format, you can customize it according to your needs. You can change the layout , height , width etc..
If you want to show only the Like count in the button then change layout=standard to layout=button_count. if you want to hide the faces of the people who like your post then change show-faces=true to show-faces=False.
You can also change the color scheme to dark by changing colorscheme=light to colorscheme=dark and other small changes regarding the height and width of the button.
If you are not familiar with how to create a facebook fans page and facebook like box for your website, then read this article :
Facebook is the fastest growing social networking website. A presense of your website in face book give a good impression to the viewers. If you have lots of followers in facebook, then that shows your site popularity.
Facebook provides "Like Box" service, so that users can link their website to facebook and promote the website contents, Using "Share" and "Like" options contents can be shared across various communities and friend groups in facebook. Once a user "Likes" your website post, immediately the people in the friend groups of th eperson who "liked" your post will get an intimation.
So there is a chance that several people may look into the "Liked" site and it may driver visitors to your website.
Adding Like Button to Wordpress Themes
It is very easy to install the facebook like button on your wordpress theme.
Simply do the following:
find the file "single.php" and add the following code in that
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink()); ?>&layout=standard&show-faces=true&width=530&height=60&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:530px; height:60px"></iframe>
Adding Like Button to Blogger Blog Templates
Login to your blogs admin area and go to Design option in blogs dashboard. Click on edit HTML and select expand widget option. In the HTML contents find the following section:
<b:if cond='data:blog.pageType == "item"'>
..................
.................
....</b:if>
in that section add the following code:
<iframe expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show-faces=true&width=530&height=60&action=like&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:530px; height:60px' allowTransparency='true'></iframe>
and Save your template.
-- -- -- -- -- -- -- -- --
The above codes for blogger and wordpress are in general format, you can customize it according to your needs. You can change the layout , height , width etc..
If you want to show only the Like count in the button then change layout=standard to layout=button_count. if you want to hide the faces of the people who like your post then change show-faces=true to show-faces=False.
You can also change the color scheme to dark by changing colorscheme=light to colorscheme=dark and other small changes regarding the height and width of the button.
If you are not familiar with how to create a facebook fans page and facebook like box for your website, then read this article :
Comments
Post a Comment