Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Created August 9, 2012 02:53
Show Gist options
  • Save claudiosanches/3300497 to your computer and use it in GitHub Desktop.
Save claudiosanches/3300497 to your computer and use it in GitHub Desktop.
Colocar um favicon no wordpress
<?php
/*
Plugin Name: Adicionar favicon no blog
Plugin URI: http://www.ferramentasblog.com/2010/02/como-trocar-favicon-blogger-wordpress.html
Description: Adiciona facilmente um favicon no Wordpress
Version: 1.0
Author: Marcos Lemos, Claudio Sanches
Author URI: http://www.ferramentasblog.com/
*/
function childtheme_favicon() { ?>
<link rel="shortcut icon" href="LINK DA IMAGEM DO FAVICON" />
<?php }
add_action('wp_head', 'childtheme_favicon');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment