Here are the instructions from the WordPress Codex:
- Go to your WordPress Administration Panel.
- Click on Appearance.
- Click on Theme Editor.
- Select the file called Header or header.php to edit the file.
-
Search for the line of code that begins with
<link rel="shortcut icon"
and ends with/favicon.ico" />
. Overwrite it, if it exists, or add the following code below the<head>
HTML tag.<link rel="shortcut icon" href="https://wordpress.stackexchange.com/questions/167736/<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />