Created
July 18, 2012 19:21
-
-
Save robertcedwards/3138242 to your computer and use it in GitHub Desktop.
Wordpress Page specific javascript
This file contains hidden or 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 if (is_page('home') ) { ?> | |
<!--home page custom JS--> | |
<script type='text/javascript' src="<?php bloginfo('template_directory'); ?>/Scripts/customJS.js"></script> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment