Created
April 22, 2015 00:19
-
-
Save setuix/5ca2d6c582e714b6ff99 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php // Opening PHP tag - nothing should be before this, not even whitespace | |
// Custom Function to Include | |
function favicon_link() { | |
echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n"; | |
} | |
add_action( 'wp_head', 'favicon_link' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment