Saturday, December 31, 2011

Add a button like I liked the Facebook blog

www.hostingflower.comAdd a button like I liked the Facebook blog



Facebook site of the most famous sites in the world today. It is also a good source of visitors and Altravek, especially if there is a group blog. If you want to put a button (I liked), or (like) in your blog, whether in the side menu or the thread page or bottom of the page you can do so easily.



All you need is to paste this code inside one of the following files:

• single.php: If you want to appear inside the box in the subject, and preferably prior to place comments.
• sidebar.php: If you want to appear in the list box side.
• footer.php: If you want to show the box at the bottom of the page.
• page.php: If you want to show the box in the page only, and preferably before the place of the comments.

<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>










There are some additions that use this code, but may benefit from Altravek heading to your site illegally (the source of this information, rumors spread among the sites development).

















No comments:

Post a Comment