WordPress.org

Ready to get started?Download WordPress

Forums

Oxygen
[resolved] Favicon on website (3 posts)

  1. 88cctan
    Member
    Posted 5 months ago #

    I have insert the following code into the header.php within <head> and </head>:

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

    The favicon only display only during log on to dashboard. It didn't appear when browsing my website. Help...

  2. wormo
    Member
    Posted 5 months ago #

    You should take the short way to your favicon.
    Upload it in your root folder and in your themes folder. The head-reference could be like this:

    <link rel="shortcut icon" href="http://yourdomain.de/wordpress/wp-content/themes/oxygen/yourfavicon.ico" />

  3. 88cctan
    Member
    Posted 5 months ago #

    Thanks, problem solved

Reply

You must log in to post.

About this Theme

About this Topic

Tags