Created
June 7, 2010 19:09
-
-
Save frasten/429044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mystique theme for wordpress: adds a filter to choose a custom favicon. | |
--- ./header.php 2010-06-07 20:59:51.870570644 +0200 | |
+++ ./header.php 2010-06-07 21:07:55.069569957 +0200 | |
@@ -16,7 +16,7 @@ | |
<?php endif; ?> | |
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | |
-<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" /> | |
+<link rel="shortcut icon" href="<?php echo apply_filters( 'mystique_favicon', get_bloginfo('template_directory') . '/favicon.ico' ); ?>" /> | |
<?php wp_head(); ?> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment