Support » Plugins » Hacks » How to make favicon show on register/login page?

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.

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

    Ayman

    (@aymanalzarrad)

    It looks like transparent for me…

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

    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?

    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?

    found a suloution!

    function favicon4admin() {
     echo '<link rel="Icon" type="image/x-icon" href="http://www.owensinclairjones.co.uk/wp-content/uploads/2013/07/favicon5.ico" />
     <link rel="Shortcut Icon" type="image/x-icon" href="http://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?

    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?

    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.

    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.