adding favicon plugin with FP favicon, hope you'll like it
This commit is contained in:
parent
a7544bb47c
commit
e61031f5b2
@ -26,6 +26,7 @@
|
|||||||
'searchbox',
|
'searchbox',
|
||||||
'blockparser',
|
'blockparser',
|
||||||
'readmore',
|
'readmore',
|
||||||
|
'favicon',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
BIN
fp-plugins/favicon/imgs/fplogo.gif
Executable file
BIN
fp-plugins/favicon/imgs/fplogo.gif
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
17
fp-plugins/favicon/plugin.favicon.php
Executable file
17
fp-plugins/favicon/plugin.favicon.php
Executable 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');
|
||||||
|
|
||||||
|
?>
|
Loading…
x
Reference in New Issue
Block a user