Tagged: x
-
AuthorPosts
-
January 27, 2017 at 4:39 am #1347568
The icon/favicon shown when logged into wp-admin is a very old version, and changing this in customizer does not fix it.
Where is the favicon listed in the site/theme files so that I can change the wp-admin one to the new, correct favicon that the site is showing.
Running WP and X Theme up-to-date.
January 27, 2017 at 5:44 am #1347618Hi,
To change favicon in admin area, you can add this in your child theme’s functions.php file (wp-content/themes/x-child/functions.php)
function favicon(){ echo '<link rel="shortcut icon" href="http://example.org/favicon.ico" />'; } add_action('admin_head','favicon');
Change http://example.org/favicon.ico with the url of your favicon.
Hope that helps.
February 20, 2017 at 10:50 am #1378395Hi thanks for this, why doesn’t the customiser update the favicon in the admin area? Also, when I list my site on Digg (reading the website feed) it also shows the old favicon?
February 20, 2017 at 10:52 am #1378398I’m not using a child theme, I’m using a live and up-to-date X theme… I don’t really want to use a child theme unless necessary(?). How can I force update the favicon across all aspects of the site? I can’t even find the image being used in the admin area stored on the server – strange!
February 20, 2017 at 11:07 am #1378421Sorry – I have solved this. Customiser changes the website favicon, but not favicon.ico in the main directory. Changed that file and the admin area and feed icon changed. Thanks, please close 🙂
February 20, 2017 at 11:17 am #1378435Glad to hear it and thanks for letting us know,
Joao
-
AuthorPosts