Facebook icon not working
-
Hi, great plugin. When clicking the Facebook icon nothing happens. All other icons works just fine. Have a look here. Thanks
https://wordpress.org/plugins/wwm-social-share-on-image-hover/
-
Hello Mending,
When I check your website, I didn’t see your Facebook Feed init code.
Once you set the APP ID and Enable make (Yes) for Load JS SDK option.
then Only FB Share will works. then you can find a code something like below with FB APP ID.window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : "your APP ID", status : true, xfbml : true }); }; // Load the SDK asynchronously (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"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk"));Please fix that, or check this link.
Hope it fix.
I’ve set the APP ID and enabled “Yes” for “Load JS SDK” option + configured the Facebook APP according to your link. Nothing happens.
Maybe it conflicts with Yoast WordPress SEO ?
No , there is no chance for conflict with Yoast plugin, may be your cache plugin need to be refreshed ,bcoz once you setup the FB APP ID and JS SDK Yes, then will be able to see some code like above on your page source.
So Please remove your cached files and check again.
No difference. Even tried with a different browser. The SDK code is not showing.
Try to remove the plugin and install once again , If your not did any customization on plugin files.
No changes! And settings are all okay. Should the SDK script load and show no matter if the FB App is setup or not?
yes, It should required, Im not sure why its not showing on your site, only possibility is cache issue, Once you removed the cache and save the setting properly its should work.
On a last try to add following code with your FB APP ID on template header.php
<script type="application/javascript"> window.fbAsyncInit = function() { // init the FB JS SDK FB.init({ appId : "564321370281405", status : true, xfbml : true }); }; // Load the SDK asynchronously (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"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk")); </script>Right, that sorted it. Apparently there’s a conflict with your plugin and our theme, which prevents the the SDK script from being loaded.
You are using WordPress version 3.9 ?, I will check the plugin code with 3.9 then let you know any fix required.
Thanks for your feedback.
Yes, I’m on 3.9.2. Please check up on compability π
Tested and fixed the issue on FB JS SDK Loading on WordPress latest versions.
thanks for your valuable suggestions!.Im closing the support ticket, any one experiencing any kind of issue feel free to write on my website or open a support ticket.
Will I see the update in the WP Dashboard?
No, Its just a simple fix and no reason for releasing a new version for that So please download it manually.
Great, thanks for fixing this π
The topic ‘Facebook icon not working’ is closed to new replies.