Created
October 6, 2012 03:53
-
-
Save bryceadams/3843723 to your computer and use it in GitHub Desktop.
Add TypeKit Code To Head In Child Theme
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 TypeKit <head> Code | |
function childtheme_typekit() { ?> | |
<script type="text/javascript" src="//use.typekit.net/t12xau3f.js"></script> | |
<script type="text/javascript">try{Typekit.load();}catch(e){}</script> | |
<?php } | |
add_action( 'wp_head', 'childtheme_typekit' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment