Last active
August 29, 2015 14:20
-
-
Save nathaningram/f1ac3f88a357a05d321d to your computer and use it in GitHub Desktop.
The Incredible Shrinking Header - PHP Function
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
//* Enqueue Scripts | |
add_action( 'wp_enqueue_scripts', 'ni_shrinking_header_script' ); | |
function ni_shrinking_header_script() { | |
wp_enqueue_script( 'shrinking-header', get_bloginfo( 'stylesheet_directory' ) . '/js/shrinking-header.js', array( 'jquery' ), '1.0.0', true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment