Created
July 20, 2015 04:30
-
-
Save jainnidhi/953038baa1f08773040b to your computer and use it in GitHub Desktop.
function for add genesis favicon
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
add_filter( 'genesis_pre_load_favicon', 'child_favicon_filter' ); | |
/** | |
* Change the location of the favicon reference. | |
* | |
* @author Greg Rickaby | |
* @since 1.0.0 | |
*/ | |
function child_favicon_filter( $favicon_url ) { | |
return 'http://cdn.yoursite.com/wp-content/themes/child/images/favicon.ico'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment