WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Favicon supported in this theme? (6 posts)

  1. redtechmedia
    Member
    Posted 5 years ago #

    I was trying to add my favicon, but I don't see a default location in the theme's code to customize my own favicon. Is there a way to do this? Thanks.

  2. asechrest
    Member
    Posted 5 years ago #

  3. redtechmedia
    Member
    Posted 5 years ago #

    Asechrest - Thanks, but I know all of that already. The problem is that this theme doesn't have an existing favicon in the header code. I'm looking to add custom code or another way that the theme developer might know to be able to add the favicon into the theme/header.
    thanks

  4. digitalnature
    Member
    Posted 5 years ago #

    just add this in header.php, somewhere in the <head> section:
    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
    then place your favicon in the theme dir

    I'll also add this in the next theme update, so you don't have to change theme files.

  5. asechrest
    Member
    Posted 5 years ago #

    As digitalnature indicated, that link instructs how to add the code into the header if your theme doesn't have it.

  6. amarkenson
    Member
    Posted 5 years ago #

    This is really helpful.

    I created a favicon.ico file and put it in the directory, cleared out the cache and for some reason still can't get it to work. I also added the code mentioned above. Any other ideas?

    Thanks - Ari

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags