Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Facebook Comments on Wordpress. Help?
3 points by dell9000 on March 2, 2011 | hide | past | favorite | 2 comments
Here is the snipet provided by Facebook:

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"> </script><fb:comments href="YOUR_CANONICAL_URL"></fb:comments>

On Wordpress, any idea how to automate the canonical url portion so this can be placed in the single post editor of the theme?

Thanks




<script src="http://connect.facebook.net/en_US/all.js#xfbml=1>; </script><fb:comments href="<?php the_permalink() ?>"></fb:comments>





Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: