Expert Warrior Needed - Wordpress Comment / Facebook "Like" Integration
I would like to have a facebook "like" button on every comment posted on my wordpress blog. Now I want the like button to "like" the comment permalink that it is attached to. I figured out how to "like" the current page url, but I could not figure out how to get it to "like" its respective comment.
Some of the comments on my blog are rather insightful and sometimes hilarious. I KNOW that if there were a like button for those particular comments, they would go viral on facebook.
This is what it looks like:
So I need to know what I have to hard code into the functions.php page in order to accomplish this.
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink(); ?>&layout=button_count&show_faces=true&width=200&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
I tried changing it to this ----> <?php permalink_comments_rss(); ?> and it doesn't work.
Your help is appreciated.
Aloha, Kekoa!
Was mich nicht umbringt, macht mich stärker
Was mich nicht umbringt, macht mich stärker