Last active
October 28, 2016 08:39
-
-
Save Cathrin-Demyokhina/2059cd6166d9015d95515b05bef5a1f8 to your computer and use it in GitHub Desktop.
Sticky menu for Genesis
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', 'custom_enqueue_script' ); | |
function custom_enqueue_script() { | |
wp_enqueue_script( 'sticky-nav', get_bloginfo( 'stylesheet_directory' ) . '/js/sticky-nav.js', array( 'jquery' ), '', true ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment