WordPress.org

Forums

Favicon in Dashboard Different Yet Nothing in Functions.php (7 posts)

  1. jrothra
    Member
    Posted 1 year ago #

    I changed the favicon of my site http://www.johnrothra.com. When I did, I wanted to change the favicon for the admin Dashboard as well. I deleted the old favicon, yet it still shows up. I've done the following to no avail:

    - Completely cleared out my computer's and the website's caches
    - Checked the functions.php in the themes (both parent and child) and there's no mention of "favicon" in them
    - Deleted all instances of the old favicon image on the server (at least that I can find anywhere, incl. the WP media library)

    What could be causing it?

  2. alysonearl
    Member
    Posted 1 year ago #

  3. jrothra
    Member
    Posted 1 year ago #

    Not really because I'm trying to remove the favicon, not add it. I've already searched all functions.php files and none contain any instructions regarding favicons, so there's no code to remove or adjust to point to a different image.

  4. alysonearl
    Member
    Posted 1 year ago #

    If I understand you correctly, the old icon appears in the tab when you are logged into the dashboard and the new icon appears when you are logged out?

  5. alysonearl
    Member
    Posted 1 year ago #

    I use a plugin called Multicons by Doc4 that allows me to setup my dashboard ans site favicons from the Dashboard/Settings menu.

  6. jrothra
    Member
    Posted 1 year ago #

    Actually, no. Whether I'm logged in or logged out, the backend stuff shows the old favicon in the browser tab.

  7. TruSpec2012
    Member
    Posted 7 months ago #

    If this has not been fixed yet. This is currently working on 4.0 but you will need to do this each time you upgrade your site. Locate a file in the wp-admin folder called admin-header. Around line 50 - 55, locate <Title> and right above it, place the following code
    <link rel="shortcut icon" href="Link to your sites Fav Icon" />

    As I said, this is working on WP 4.0 and will need to be fixed each time. This should not be required as long as you keep people out of your Dashboard area. Use Buddy Press and custom pages for all site functions for members.

    The makers of wordpress realized that the dashboard was for site owners only so it was not really a big concern to add in a favicon option. But if you feel its really necessary. Then follow what I suggested up top and you will be good to go.
    Now if your theme does not offer the option for the front end of the site. You would then need to locate theme folder and manually insert the same code up top.
    In this case it is best to place your favicon in the WordPress main folder or root directory and always use the option of a full url
    http://www.examplesite.com/favicon.imgtype

    This method will allow the favicon to be called on any page including forums such as bbpress that does not call for it if you use any other method.

    Hope this helps out for any future searches.

Topic Closed

This topic has been closed to new replies.

About this Topic