WordPress.org

Support

Support » Themes and Templates » Tonic » [Theme: Tonic] – How to add favicon image?

[Theme: Tonic] – How to add favicon image?

  • Hey,

    Have tried adding favicon through functions code – but not appearing.

    Need some help. Thanks!

    Code used:

    <?php
    function blog_favicon() {
    	echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('stylesheet_directory').'/favicon.ico" />' . "\n";
    }
    add_action('wp_head', 'blog_favicon');
    ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Tonic] – How to add favicon image?’ is closed to new replies.
Skip to toolbar