Remove the favicon in Genesis


StudioPress themes (my favourite WordPress themes: this site is using one of them too) come with a default favicon.

And chances are you want to remove it.

Now, what you might find on Google might not work. That’s because the code to remove the favicon changed with the new Genesis 2.

So, here are solutions for both versions (however, I don’t see why not upgrade Genesis).

With the old Genesis, the code to put in your functions.php is:

/** Remove favicon */
remove_action('genesis_meta', 'genesis_load_favicon');
With the new Genesis, the code is:
/** Remove favicon */
remove_action(‘wp_head’, ‘genesis_load_favicon’);
Add the line in your (child theme) functions.php and check the source code: you shouldn’t see anymore the favicon there (while the browser might show the favicon for some time, because cached).

Speak Your Mind


By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.