Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Talk:Creating a Favicon

Should be named "Creating and Installing a Favicon"

Stevish 18:39, 4 April 2008 (UTC)

Instructions fail when using child themes in WP 2.7

The instruction to insert the line

<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />

into the <head> is faulty in this case, becase bloginfo('template_directory') returns the directory of the parent theme, not the child theme. Sampablokuper 23:26, 28 January 2009 (UTC)

Using
<link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />
may be a better bet in this case. Sampablokuper 00:07, 29 January 2009 (UTC)