• How do I upload a favicon with this theme?
    I uploaded the favicon.ico file and then put this code in the header
    <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico" />
    as the wordpress codex instructs. I even tried variations of this but nothing worked.
    I am using a child theme, could that be the problem?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, where did you place your favicon file? It should be in the same directory as your child theme CSS.

    Thread Starter Mgee

    (@mgee)

    I placed the favicon.ico file with all the other media like I usually do. What do you mean by the same directory is the child theme css? I just tried uploading it to the child theme but it still doesn’t work. Thanks

    Moderator Kathryn Presner

    (@zoonini)

    WordPress now has favicon support built in so there’s no need to hard-code anything. 🙂

    In your Customizer, go to the “Site Title & Tagline” section, and upload a favicon in the “Site Icon” area. This should work in any theme.

    Let me know how it goes!

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    @kathryn, many thanks for jumping in. I had not noticed the favicon support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Favicon?’ is closed to new replies.