Created
December 9, 2014 23:43
-
-
Save FranciscoAMK/551c7bd42c1ea4080e0b to your computer and use it in GitHub Desktop.
Implementar Typekit
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
<?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