[Plugin: Facebook] How do I remove Facebook SDK from footer?
-
Hi,
I just installed Facebook plugin and really like it. I am facing one problem, how do I remove the Facebook SDK inserted by the plugin? I already have
https://connect.facebook.net/en_US/all.js
called, I don’t want it again. This is causing the same script to be called twice?I tried the following hacks:
remove_action('wp_footer', 'fb_root');
wp_deregister_script('fb_root');
remove_action('wp_footer', 'fb-connect');
wp_deregister_script('fb-connect');
but none of them removed the script.
Please provide a option to exclude inserting the script, if a website already have it.
- The topic ‘[Plugin: Facebook] How do I remove Facebook SDK from footer?’ is closed to new replies.