Support » Fixing WordPress » How do I customize the icon next to my URL

  • Anyone know how to change the little Icon in the address bar to the left of the URL? You know like the little blue W that WordPress has next to its URL. THanx

Viewing 6 replies - 16 through 21 (of 21 total)
  • Interesting side note:

    for .html pages, the icon loads with this line of code in your header:

    <link rel="shortcut icon" href="favicon.ico" />

    But for .php pages, (and to make those drag-drop links in your bookmark bar on top of your FF page work) you need the code to look like this in your header.php file:

    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?> /favicon.ico" />

    A.

    Okay, I have a problem with this and need a bit of help.

    I’ve created the .ico and it’s fine. I added the

    <link rel=”shortcut icon” href=”images/favicon.ico” type=”image/x-icon” />

    Before the </head> in my Theme’s header.php file and I’ve also uploaded the .ico in the image directory.

    Still no dice….

    Am I missing something?

    Thanks all…

    whooami

    (@whooami)

    Member

    Not too sure what that incomplete sentance means..??

    However, google seems to be working fine though.

    Maybe you are misunderstanding my questions!

    rrisher,

    you typed:
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

    it needs to be:
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?> /favicon.ico" />

    Note the “<? php” part

    (add-on thought edit)Also, it won’t work if some of your IE (*grumble*) security settings are enabled/disabled…I can’t remember accurately which one you have to turn off or on because I’m a FF junkie. I only check IE if I’m designing css to make certain it works correctly.

    Hope I’ve helped.

    What is all this talk about HTML code for favicons?

    I’ve never needed an HTML code to show the favicon. I just put the .ico in my server’s root directory, and browsers seem to automatically find it.

    kmessinger said this 7 months ago, hmmm

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘How do I customize the icon next to my URL’ is closed to new replies.