kaioe
10/17/2015 - 2:57 AM

wordpress:add a favicon

wordpress:add a favicon

// add a favicon
function blog_favicon() {
echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('wpurl').'/favicon.ico" />';
}
add_action('wp_head', 'blog_favicon');