WordPress.org

Support

Support » Themes and Templates » [Resolved] Place for favicon

[Resolved] Place for favicon

  • I´ve read through some topics of using a favicon in the twenty twelve theme. I´ve put the code below in function file. Put the favicon image named favicon.ico both in theme folder and in root of the site. Still doesn´t function. Any ideas?

    function favicon_link() {
        echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n";
    }
    add_action( 'wp_head', 'favicon_link' );

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Place for favicon’ is closed to new replies.