How to add favicon for all devices in WordPress
Favicon is very important in a website, in this post i am sharing the code for add favicon for all devices in WordPress. Don’t use any plugins for the favicon, add the simple code to your WordPress theme header.php file and upload each image on image folder. here we need 5 images with dimensions 32×32, 57×57, 72×72, 114×114, 149×149.
<link rel="shortcut icon" href="<?php bloginfo("template_url"); ?>/images/32.png"> <link rel="apple-touch-icon" href="<?php bloginfo("template_url"); ?>/images/57.png"> <link rel="apple-touch-icon" sizes="72x72" href="<?php bloginfo("template_url"); ?>/images/72.png"> <link rel="apple-touch-icon" sizes="114x114" href="<?php bloginfo("template_url"); ?>/images/114.png"> <link rel="apple-touch-icon" sizes="149x149" href="<?php bloginfo("template_url"); ?>/images/149.png">