Archives for February, 2011 - Page 2

23 Feb

How to add Facebook like button using Open Graph

image-568
image-568
You can add the "Facebook Like Button" to your wordpress installation unsing two ways: the first simply put into your function file the like button code, the second, add open graph and paste then add the code into your template. Using open graph you will be able to publish not just the title of the post, but also a description a thumbnail and post type. This is the base of my brand new wordpress plugin "Fbvirallike". You need to create three new functions, 1 for the open graph integration, one for like button, and another for thumbnail. You can do this pasting the following function into your "function.php" file.