Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove the default sticky nav script in GP child themes
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