Adding a Facebook Like Button to blogs


(Zoe Frost) #1

Hiya, I’m new to coding and getting really lost!
I’m currently trying to add a Facebook like button to individual blog articles and yet again, I’m being told to . . . . . . .

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

Where exactly do I therefore put the code??

If I go in the site wide code section in settings, there’s CSS, Javascript, Prefix and Head.
There are the same sections in the page inspector for the blog page.

So, which section do I put the code in so it is “right after the opening tag”???

Also, do I do it on the page or the site-wide?


(Bevan Ting) #2

Hi Zoe,

You can put the code in the “Header” of each page. That’s how I got mine to work. The second part of the code can be anywhere on the page, just make sure it’s HTML.

I supposed you could make it site-wide “Header” but the instructions said to put it on my page so I did.

Regards,
Bevan