Return to Snippet

Revision: 47348
at June 6, 2011 01:29 by alp


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

Initial URL

                                

Initial Description

                                

Initial Title
Wordpress: Add a Favicon

Initial Tags
wordpress

Initial Language
PHP