Hi, I tried to include facebook “like” and “share” buttons on my blog posts using the hook “before_header”. But it’s not working.
As per Facebook instructions, the code within the <scrpt>..</script> tags had to be pasted on every page, just after the <body> tag.
I checked the page source code in the browser (for the posts), and I found that the required code (added through hook) is present in the body tag of html. but still the buttons are not appearing on the page.
there is no problem with the facebook code. I tried that on another theme and it’s working fine with that theme.