WordPress.org

Ready to get started?Download WordPress

Forums

Tonic
- How to add favicon image? (2 posts)

  1. tg1
    Member
    Posted 8 months ago #

    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');
    ?>
  2. Rob
    Member
    Posted 3 weeks ago #

    try using all in one favicon plugin

Reply

You must log in to post.

About this Theme

About this Topic