I just integrated the new Facebook Like button on LeanEntrepreneur. You can find it at the bottom of each post.

If you take the code snippet from Facebook’s generator you will get a code for an individual page. If you like a universal WordPress implementation you can use this code (which I found here):

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

Hope you guys like it (and use it of course).

Leave a comment

comments

Tagged with:
 

Join the discussion

Follow

Get every new post delivered to your Inbox

Join other followers