Skip to content

Instantly share code, notes, and snippets.

@mchlshkr
Last active January 1, 2016 07:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mchlshkr/8115467 to your computer and use it in GitHub Desktop.
Display a custom favicon on your site with the Genesis Framework.
<?php
//* 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 '/images/favicon.ico';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment