User Tools

Site Tools


FavIcon plugin

create a 'favicon/' folder, create a favicon/imgs/ subdirectory and put there a favicon.ico file put in favicon/ your plugin.favicon.php file (with the contents below), save, enable from the panel, enjoy

Plugin Name: FavIcon
Plugin URI:
Description: Adds a favicon to FlatPress
Author: NoWhereMan
Version: 1.0
Author URI:
function plugin_favicon_head() {
echo '<link rel="icon" href="' .  plugin_geturl('favicon') .'imgs/favicon.ico" />';
add_action('wp_head', 'plugin_favicon_head');
res/plugins/nowhereman/favicon.txt · Last modified: 2019/01/12 17:53 by

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki