Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-08-2013 04:17:01

ChrisFoster
Member
Registered: 10-09-2013
Posts: 6

Facebook Coding

Hi, Does anyone know where i put 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/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


it says before the <body> tag but i cant find body tag, i just want the Like button to work on all the pages, preferably in the header.

Thanks

Offline

 

#2 11-08-2013 06:45:00

nigel
Member
From: Peterborough, UK
Registered: 04-27-2008
Posts: 380
Website

Re: Facebook Coding

I would suggest it goes in the skin.php file of the skin you are using

Offline

 

Board footer