adding favicon plugin with FP favicon, hope you'll like it

This commit is contained in:
real_nowhereman 2008-03-19 09:35:37 +00:00
parent a7544bb47c
commit e61031f5b2
3 changed files with 18 additions and 0 deletions

View File

@ -26,6 +26,7 @@
'searchbox',
'blockparser',
'readmore',
'favicon',
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -0,0 +1,17 @@
<?php
/*
Plugin Name: FavIcon
Plugin URI: http://www.flatpress.org/
Description: Adds a favicon to FlatPress
Author: NoWhereMan
Version: 1.0
Author URI: http://www.nowhereland.it/
*/
function plugin_favicon_head() {
echo '<link rel="shortcut icon" href="' . plugin_geturl('favicon') .'imgs/fplogo.gif" />';
}
add_action('wp_head', 'plugin_favicon_head');
?>