Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
2.0k views
in Q2A Core by

I want facebook comment box every page on my site. so i want use this code

<div class="fb-comments" data-href="<?php the_permalink() ?>" data-width="720" data-numposts="2" data-colorscheme="light"></div>

 

but i cannot able. because i am beginner in php. i cannot understand what page i set this code

 

<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&appId=414604925335296&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

 

please help me. and tell me about it.

Please log in or register to answer this question.

...