Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Load a custom favicon on your site using the Genesis Framework.
//* Do NOT include the opening php tag
//* Load custom favicon
add_filter( 'genesis_pre_load_favicon', 'custom_favicon_filter' );
function custom_favicon_filter( $favicon_url ) {
return '';

I kept having to update this for dev environments so now use...

return get_bloginfo('stylesheet_directory').'/images/favicon.png';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.