the favicon image MUST be named "favicon.ext"! (or IE won't show it...)
This commit is contained in:
parent
3c94284f70
commit
c173e4943c
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@ -9,7 +9,10 @@ Author URI: http://www.nowhereland.it/
|
||||
*/
|
||||
|
||||
function plugin_favicon_head() {
|
||||
echo '<link rel="shortcut icon" href="' . plugin_geturl('favicon') .'imgs/fplogo.gif" />';
|
||||
// your file *must* be named favicon.ext,
|
||||
// where ext is an image extension (such as gif, png, ico...)
|
||||
echo '<link rel="shortcut icon" href="' .
|
||||
plugin_geturl('favicon') .'imgs/favicon.gif" />';
|
||||
}
|
||||
|
||||
add_action('wp_head', 'plugin_favicon_head');
|
||||
|
Loading…
x
Reference in New Issue
Block a user