Created
September 17, 2014 17:32
-
-
Save bryanmonzon/aef0e1181d4ecaa8d390 to your computer and use it in GitHub Desktop.
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 | |
//First you register the script | |
//The parameters are (title, path, what the script depends on, version-leave this blank, in footer) | |
wp_register_script('GIVE-IT-A-UNIQUE-TITLE-HERE', get_bloginfo('template_url').'/js/skrollr.js', array( 'jquery' ), '', true); | |
//Then you enqueue it (so it renders on the page) | |
wp_enqueue_script('skrollr'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment