As you probably already know the old Facebook comments plugin for wordpress no longer works. To enable Facebook comments now requires placing certain code on the site. I want Facebook comments to show up below articles where comments would normally go, but I want to make sure I put the 2 strings of code in the right place. I have included the code and instructions below and was hoping you could tell me where to place them. Thanks!
1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.4&appId=1478622562437734”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
2. Place the code for your plugin wherever you want the plugin to appear on your page.
<div class=”fb-comments” data-href=”http://advancedlifeskills.com/” data-width=”100%” data-numposts=”10″></div>