Create a gist now

Instantly share code, notes, and snippets.

anonymous /favicon.php
Created Jan 20, 2016

What would you like to do?
<?php
// Ein Favicon anzeigen lassen
function ah_blog_favicon() {
echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('wpurl').'/favicon.ico" />';
}
add_action('wp_head', 'ah_blog_favicon');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment