Created
August 17, 2015 23:09
-
-
Save generatepress/f8e9149e2929442bd97d to your computer and use it in GitHub Desktop.
Remove the default sticky nav script in GP child themes
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
add_action( 'wp_enqueue_scripts', 'generate_dequeue_child_sticky', 99 ); | |
function generate_dequeue_child_sticky() { | |
wp_dequeue_script( 'stickynav' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment