Search: theme html5

HTML5 nos abre un nuevo mundo de posibilidades, nuevos tags, microformatos, y además Facebook ya comienza a ofrecer sus social plugins en HTML5.
Si usas Thesis Theme (como yo) y quieres comenzar a utilizar todas las funcionalidades que HTML5 te ofrece tan sólo tendrás que pegar el siguiente código en tu fichero custom_functions.php , darle al botón de Guardar y voilá!

/** Add support for HTML5 **/
/* Output an HTML5 document type */
function html5_doctype($content) {
return '';
}
add_filter('thesis_doctype', 'html5_doctype');

/* Remove PROFILE attribute from HEAD tag */
function html5_profile_removal($content) {
return '';
}
add_filter('thesis_head_profile', 'html5_profile_removal');

Esto no me lo he inventado yo, sino que está disponible en la web de los creadores de Thesis Theme

{ 0 comments }