public
Last active

Unregister the superfish scripts on your site using the Genesis Framework.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8
<?php
 
//* Unregister the superfish scripts
add_action( 'wp_enqueue_scripts', 'bg_unregister_superfish' );
function bg_unregister_superfish() {
wp_deregister_script( 'superfish' );
wp_deregister_script( 'superfish-args' );
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.