Add favicon in a WordPress site.

Add this simple code in head section on your them.  You will find head section in header.php file on wp-content/themes/<them name>. After that upload this favicon.ico file on the same directory.

<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />

To know more about favicon see this post:
How to Add a Favicon to your Site.

Leave a Reply

Your email address will not be published. Required fields are marked *