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 a WordPress Expert

Get hourly and project based theme customization, theme tweaks, and development help from world-class WordPress developers at Codeable. If you’re in Kelowna and need a custom website for your business visit our Kelowna Web Design page now to get started.