By default the WordPress Genesis theme framework loads the jQuery Superfish Menu Plugin to help the menu display properly.
If you’re displaying your menu in a way that doesn’t need Superfish, you can remove it with the following code.
add_action( 'wp_enqueue_scripts', 'fe_remove_superfish', 100 );
function fe_remove_superfish() {
wp_dequeue_script( 'superfish' );
wp_dequeue_script( 'superfish-args' );
}
Leave a Reply