Last active
December 17, 2015 07:09
-
-
Save studiopress/5570624 to your computer and use it in GitHub Desktop.
Genesis scripts.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Disable the superfish script | |
add_action( 'wp_enqueue_scripts', 'sp_disable_superfish' ); | |
function sp_disable_superfish() { | |
wp_deregister_script( 'superfish' ); | |
wp_deregister_script( 'superfish-args' ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Enable the superfish script | |
add_filter( 'genesis_superfish_enabled', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment