Inserting a favicon in Twenty Ten child theme
-
Hey all,
I’m having trouble getting my favicon to show… my bluehost favicon seems to show up no matter what.
I’ve put the favicon.ico in my child theme image directory and added the following code to my function.php (part of the parent):
function add_theme_favicon() { ?>
<link rel=”shortcut icon” href=”<?php echo bloginfo(‘stylesheet_directory’) ?>/images/favicon.ico” >
<?php }
add_action(‘wp_head’, ‘add_theme_favicon’);But nothin… wondering if that code just isn’t right to find the file??
Any ideas?
Thanks!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Inserting a favicon in Twenty Ten child theme’ is closed to new replies.