Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Facebook wants me to insert code WHERE? (http://forum.bytesforall.com/showthread.php?t=22464)

johnq May 3, 2014 12:21 PM

Facebook wants me to insert code WHERE?
 
I am trying to create a Facebook Follow Button.

Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.

Here is the code it wants me to put there.

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


PROBLEM: I cant find where the <body> to be able to insert the code.

Your help is greatly appreciated.:)

johnq May 3, 2014 12:25 PM

I am placing the button on the RHS widget.

Which would be best? HTML5, XFBML, IFRAME or URL?

juggledad May 3, 2014 02:26 PM

Look at the 'Add HTML/CSS Inserts' option


All times are GMT -6. The time now is 05:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.