Skip to content

Instantly share code, notes, and snippets.

@feastdesignco
Last active June 24, 2018 16:48
Show Gist options
  • Save feastdesignco/1d4e3d616ea7c0fb07399d6653a07743 to your computer and use it in GitHub Desktop.
Save feastdesignco/1d4e3d616ea7c0fb07399d6653a07743 to your computer and use it in GitHub Desktop.
Removes the logo as a background-image from the header
/**
* Remove the genesis_custom_header_style - bad design practice to use code as styling - this should have been in the CSS
* Foodie Pro versions after 3.1.4 include this by default, along with other changes
*
* The genesis_seo_site_title function is located in genesis/lib/structure/header.php
*
*/
add_action('after_setup_theme','feast_remove_theme_filter');
function feast_remove_theme_filter(){
remove_action( 'wp_head', 'genesis_custom_header_style');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment