WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Viper’s Video Quicktags] Removing scripts and styles

[Resolved] [Plugin: Viper’s Video Quicktags] Removing scripts and styles

  • How can i remove the scripts and styles inserted in the head section.
    I want them to only appear in posts.
    Already “deregister” two of them:
    wp_deregister_script( ‘swfobject’ );
    wp_deregister_script( ‘qtobject’ );

    But canĀ“t find the “enqueue” for the ones that are written not linked.
    (var vvqflashvars = {};… and .vvqbox { display: yada yada).

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • That’s because it’s not a stylesheet file. I have a function outputting that dynamic CSS directly.

    add_action( 'init', 'nervo_remove_vvq', 11 );
    
    function nervo_remove_vvq()
    	global $VipersVideoQuicktags;
    	remove_action( 'wp_head', array(&$VipersVideoQuicktags, 'Head') );
    }

    Drop that in your theme’s functions.php file.

    Great. thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Viper’s Video Quicktags] Removing scripts and styles’ is closed to new replies.