Add Favicon on WordPress Blog

There are several ways to add favicon on WordPress blog

1.code on the header


<link rel="shortcut icon" href="/favicon.ico" />
<link rel="icon" type="image/png" href="/favicon.ico">


2. using WordPress Hook


function add_theme_favicon() { ?>
<link rel="shortcut icon" href="/images/favicon.ico" >
<?php }
add_action('wp_head', 'add_theme_favicon');

Comments

Popular posts from this blog

Set limit wp_nav_menu

How to reset my Joomla administrator password?

Displaying Future Posts in WordPress