Tagged: x
-
AuthorPosts
-
March 31, 2016 at 9:56 am #860917
Hi there!
We just switched hosting and have noticed that when we are logged in to and working in the dashboard of our site, the hostgator favicon is visible. However, when we’re not in the dashboard, the correct favicon (ours) shows. It’s also showing correctly to the world. I have the site icon set up correctly as far as I can tell… it must be otherwise it wouldn’t show at all, right?
I contacted the host and they couldn’t resolve it. Do you have any suggestions to remove it? I realize this is trivial but my client is asking for it to be removed.
Thanks!
March 31, 2016 at 9:57 am #860918This reply has been marked as private.March 31, 2016 at 9:58 am #860921This reply has been marked as private.March 31, 2016 at 6:44 pm #861663Hi Julianne,
Please setup a child theme an add this code in the functions.php file:
// First, create a function that includes the path to your favicon function add_favicon() { $favicon_url = get_stylesheet_directory_uri() . '/images/icons/admin-favicon.ico'; echo '<link rel="shortcut icon" href="' . $favicon_url . '" />'; } // Now, just make sure that function runs when you're on the login page and admin pages add_action('login_head', 'add_favicon'); add_action('admin_head', 'add_favicon');
Hope this helps.
-
AuthorPosts