Hi,
I have a strange problem. When i put the facebook code in the header.php (at the beginining) to make the facebook comment works, the favicon desapears on chrome and internent explorer, it only works on firefox.
The facebook code is :
<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/fr_FR/all.js#xfbml=1&appId=…………….”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
Do you know what to do ?
Thanks for your great theme and very great support 🙂
Hi Marius,
thanks for your reply. I didn’t want to install one more plugin but i’m going to do that, i prefer to have the favicon and i need facebook comment for sharing more.
hi,
I see that you are using WP Rocket on your site : http://screencast.com/t/K1x0WpiZ .
can you disable all your plugins then try to add your code.
try also adding a plugin for facebook sharing.
I see that in internet explorer you have the favicon : http://screencast.com/t/DQE1xjuPQ
Thanks for you message.
Radu A.
Hi Radu,
i’ve found the issue, i’ve deleted this part of code and now it’s work perfectly : <div id=”fb-root”></div> and i keeped this part:
<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/fr_FR/all.js#xfbml=1&appId=…………….”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
I don’t know why but it works lol
Thank you !
i dont want to use the facebook comment plugin because it overrides the normal comment section and cant be combined with disqus plugin. so my question is, why doesnt the favicon show up? it only shows on the homepage, but not on category and post pages. how to fix this without removing the code from the header?
Hi r1kay,
Your website’s favicon works fine with the facebook code in header on chrome. How did you do for made it work ?
Thanks
