WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using a favicon with my blog (18 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    I have more than one site/page that I want a favicon for. One of them happens to be my Word Press blog. I can't figure out where to load the favicon to and what file to edit to make it appear. Any help please???

  2. zadu
    Member
    Posted 10 years ago #

    Favicon has nothing to do with WP at all. To make it appear on a domain, you just upload the icon to the top level directory (yoursite.com/favicon.ico) The browser recognises it by its file name. No need to edit any files.
    I dunno if it's possible to have a different favicon for things like yoursite.com/subdirectory or subdomain.yoursite.com though, if that's what you want to do.

  3. justinbaeder
    Member
    Posted 10 years ago #

    Also, make sure you get the icon right before you upload it - don't do a test icon, because browsers and other sites that capture the favicon tend to only load it once. For example, Bloglines still shows my old icon by my RSS feed, even though I changed it months ago.

  4. Mark (podz)
    Support Maven
    Posted 10 years ago #

    With my Firefox, for some reason it's given the BBC site the WP favicon !
    (Or could this be true ..... ;) )

  5. Anonymous
    Unregistered
    Posted 10 years ago #

    zadu I can't put it top level because I have three blogs and two forums, it would default to all of them.
    ayager I've been trying that and I can't get it to work.
    If I dump the cache would it show up?
    I thought I had it working once but maybe it was only working for me.

  6. OperaManiac
    Member
    Posted 10 years ago #

    IE support for favicon is very buggy. test with alternate browsers...

  7. MathiasBynens
    Member
    Posted 10 years ago #

    Actually, to be 100% correct, the code should be:
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

  8. Anonymous
    Unregistered
    Posted 10 years ago #

    For those interested in creating their own fav icon, here's a neat tool:
    http://www.html-kit.com/e/favicon.cgi

  9. zadu
    Member
    Posted 10 years ago #

    I haven't tried it myself but ayager/mathibus's method might make it possible to have different icons for different parts of your site. It's never going to work all the time, in all browsers though..

  10. Anonymous
    Unregistered
    Posted 10 years ago #

    okay I'll give it a try...

  11. Anonymous
    Unregistered
    Posted 10 years ago #

    okay I tried it...don't see anything.
    Maybe someone who has never been to the site could check for me?
    http://www.scooterchick.net
    I use Opera not IE normally anyhow.

  12. Anonymous
    Unregistered
    Posted 10 years ago #

    Scooterchick:Try this...
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

  13. macro
    Member
    Posted 10 years ago #

    whoops. 1) forgot to do login, 2) code went out wrong
    <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />

  14. Anonymous
    Unregistered
    Posted 10 years ago #

    I dunno why I don't stay logged in here...
    anyhow I redid the code, can someone look at it?

  15. ayager
    Member
    Posted 10 years ago #

    I experimented with the following in 1.2 and it worked fine.
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo get_settings('siteurl'); ?>/favicon.ico" />
    However the icon only reliably appears after the a link is added as a Fav. to IE.
    Microsoft have some info but it is the same as above.
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/howto/shortcuticon.asp

  16. Anonymous
    Unregistered
    Posted 10 years ago #

    Okay I tried that one... but I'm not sure, do I need to actually put the siteurl in where it says that?
    Its not showing up in Opera or IE 6.02
    The favicon is showing up for the forum on Opera but not on IE.

  17. richards1052
    Member
    Posted 9 years ago #

    Justin:
    Also, make sure you get the icon right before you upload it - don't do a test icon, because browsers and other sites that capture the favicon tend to only load it once.

    I read your post before I started searching for favicons & like a fool I did exactly what you warned against. I found an image I thought I'd like & uploaded it. Then I decided I didn't like it & found one I liked better. Now FF seems to only display the original favicon. Is there any hope they'll ever display the 2nd one (which I really want)?

    Also, the favicon displays properly in the FF browser address bar ONLY when I first open my main blog pg. If, for example, I switch to another tab in FF, then the favicon no longer displays when I return to my blog's tab. I can get the favicon to redisplay by clicking Reload.

    The favicon will not display in the tab bar (where other sites display their favicons just fine). I put the favicon in the top folder (the one containing the public_html folder). Do I need to place it another folder to get it to display properly in both bars? I'm guessing since it does display in the url address bar that the answer is no. But this behavior sure is quirky & not the way favicons were meant to behave so I'm thinking something's wrong but don't know what.

  18. richards1052
    Member
    Posted 9 years ago #

    I forgot to add a link so you can see the favicon in question
    http://www.richardsilverstein.com/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.