Display a custom favicon on your site with the Genesis Framework.
This file contains 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 | |
//* 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