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.

Simple functions.php code snippet for unregistering the Superfish Scripts in Genesis WordPress themes.

// Unregister the superfish scripts
add_action( 'wp_enqueue_scripts', 'unregister_superfish' );
function unregister_superfish() {
	wp_deregister_script( 'superfish' );
	wp_deregister_script( 'superfish-args' );

Hire WordPress Experts at Codeable.

The only WordPress exclusive freelancer platform that connects thousands of customers with the top WordPress freelance experts to work on projects of any size. 

Free estimate • No obligation to hire • 100% risk-free