WordPress.org

Ready to get started?Download WordPress

Forums

Why doesn't my favicon show? (4 posts)

  1. johndove523
    Member
    Posted 1 year ago #

    badidea.backstageweb.net

    It's in the right place.

    <link rel="shortcut icon" href="<?php get_template_directory_uri(); ?>/images/favicon.ico" />

    ??

    John

  2. justingreerbbi
    Member
    Posted 1 year ago #

    try using <?php print bloginfo('stylesheet_directory') ?> instead of get_template_directory_uri

  3. justingreerbbi
    Member
    Posted 1 year ago #

    If you check your source what you are using is giving a relative image location to the theme and not the root. Please use the above code and see if that helps

  4. johndove523
    Member
    Posted 1 year ago #

    That did it! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags