Created
April 4, 2012 16:52
-
-
Save daltonrooney/2303794 to your computer and use it in GitHub Desktop.
Add custom scripts to header
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 | |
/* | |
* Plugin Name: Add TypeKit scripts to header | |
*/ | |
function my_theme_custom_head() { ?> | |
<script type="text/javascript"> | |
/* Your custom scripts go here */ | |
</script> | |
<?php } // end my_theme_custom_head | |
add_action( 'wp_head', 'my_theme_custom_head' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment