Skip to content

Instantly share code, notes, and snippets.

@FranciscoAMK
Created December 9, 2014 23:43
Show Gist options
  • Save FranciscoAMK/551c7bd42c1ea4080e0b to your computer and use it in GitHub Desktop.
Save FranciscoAMK/551c7bd42c1ea4080e0b to your computer and use it in GitHub Desktop.
Implementar Typekit
<?php // No incluyas esta etiqueta de apertura
/**
* Implementando código Typekit
*
* Cargamos el código Javascript de typekit
* en la cabecera de nuestro sitio
*
* @uses wp_head
*
*/
function apk_cargar_typekit() {
?>
<script src="//use.typekit.net/pek8ixy.js"></script>
<script>try{Typekit.load();}catch(e){}</script>
<?php
}
add_action('wp_head', 'apk_cargar_typekit');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment