• Resolved Owen

    (@owensj)


    I currently have a favicon on every page of my site(including the admin) except the register/login page. On there for some reason the oldest favicon on my site is there a modification I can make so the RIGHT favicon will show?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Ayman

    (@aymanalzarrad)

    I just checked your website and the same favicon is rendering everywhere even on register/login page.

    Thread Starter Owen

    (@owensj)

    What favicon is it? Is it the transparent one or the one with the white backround

    Ayman

    (@aymanalzarrad)

    It looks like transparent for me…

    Thread Starter Owen

    (@owensj)

    can you send me a picture of both the site and the login/register page please?

    Thread Starter Owen

    (@owensj)

    oh wait, I know why it wasn’t showing on my browser because my browser is an older browser and HTML kit favicon validator said the favicon will only work with newer browsers, so how can I make the favicon on the login/register page show on older browsers aswell?

    Thread Starter Owen

    (@owensj)

    oh wait, I know why it wasn’t showing on my browser because my browser is an older browser and HTML kit favicon validator said the favicon will only work with newer browsers, so how can I make the favicon on the login/register page show on older browsers aswell?

    Thread Starter Owen

    (@owensj)

    found a suloution!

    function favicon4admin() {
     echo '<link rel="Icon" type="image/x-icon" href="https://www.owensinclairjones.co.uk/wp-content/uploads/2013/07/favicon5.ico" />
     <link rel="Shortcut Icon" type="image/x-icon" href="https://www.owensinclairjones.co.uk/wp-content/uploads/2013/07/favicon5.ico" />';
     }
     add_action( 'login_head', 'favicon4admin' );
     add_action( 'admin_head', 'favicon4admin' );

    Can you tell me where you inserted the code which you published above?

    Thread Starter Owen

    (@owensj)

    At the bottom of functions.php

    I see thank you! This means that every time we update WordPress we will have to re-modify the functions.php file, correct?

    Thread Starter Owen

    (@owensj)

    I suppose so. It might be able to be made into a plugin though or you could use child theme.

    Wait, the functions.php file in the theme folder, correct? If so, I think we can avoid losing the modifications by creating a child theme.

    Thread Starter Owen

    (@owensj)

    Yes. Thats what I suggested above

    Yes, you did! Apparently I am not only losing my hair but my reading comprehensions skills as well! ??

    Thanks again!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to make favicon show on register/login page?’ is closed to new replies.