Skip to content

Instantly share code, notes, and snippets.

@bryceadams
Created October 6, 2012 03:53
Show Gist options
  • Save bryceadams/3843723 to your computer and use it in GitHub Desktop.
Save bryceadams/3843723 to your computer and use it in GitHub Desktop.
Add TypeKit Code To Head In Child Theme
// 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