Created
December 27, 2015 17:04
-
-
Save sebastienserre/f0c354a08cea8b2bb4d5 to your computer and use it in GitHub Desktop.
Snippet for WP functions.php
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 | |
// add a favicon | |
function favicon_link() { | |
echo '<link rel="shortcut icon" type="image/x-icon" href="http://www.thivinfo.com/wp-content/themes/thivinfo_v3/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