WordPress.org

Forums

[Plugin: Facebook] How do I remove Facebook SDK from footer? (1 post)

  1. mezanul
    Member
    Posted 3 years ago #

    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 http://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.

    http://wordpress.org/extend/plugins/facebook/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags