Support » Plugin: Facebook Comments by Fat Panda » Remove Meta Tags

  • Resolved bkernan

    (@bkernan)


    Hey all,

    want to remove meta tags added by this plugin. Nothing I do works:

    remove_action( ‘admin_enqueue_scripts’, array( ‘FatPandaFacebookComments’, ‘wp_head’ ) );
    remove_action( ‘admin_enqueue_scripts’, array( $FatPandaFacebookComments, ‘wp_head’ ) );
    remove_action( ‘admin_enqueue_scripts’, array( $WPFBC, ‘wp_head’ ) );
    remove_action( ‘admin_enqueue_scripts’, array( &$WPFBC, ‘wp_head’ ) );

    Any suggestions? Thanks!
    Brittney

    http://wordpress.org/extend/plugins/fatpanda-facebook-comments/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Oops, replace ‘admin_enque_scripts’ with ‘wp_head’ does not work either.

    I’m pretty sure the problem is that I need to pass an instance (or the instance of the initial class FatPandaFacebookComments) instead of a string. But the only instance I see that is created ($WPFBC) is not globally accessible, and FatPandaFacebookComments’s construct is called without creating a var for that class.

    Updating the plugin code is not an option, and creating another instance of the class did not work either.

    Hmmm

    SO stoked. This hack works:

    add to your functions.php

    //fake SharePress so Fat Panda wont print ogs
    if ( !class_exists(‘SharePress’) ) {
    class SharePress {};
    }

    ThorWEB

    (@thorweb)

    Will this fix the duplicated tags? I have to use FB debug after posting a new entry/page :S otherwise I can’t share the link on FB or comment it on my site…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Meta Tags’ is closed to new replies.