Unregister Superfish Scripts in Genesis

Genesis loads two Superfish Scripts for the menu system. If you’re not using drop-down menus, or if you’re using drop downs but don’t care about the elegant effect provided by Superfish, you can unregister the scripts.

1
2
3
4
5
6
7
// Unregister the superfish scripts
 
add_action( 'wp_enqueue_scripts', 'unregister_superfish' );
function unregister_superfish() {
	wp_deregister_script( 'superfish' );
	wp_deregister_script( 'superfish-args' );
}