Last active
June 24, 2018 16:48
-
-
Save feastdesignco/1d4e3d616ea7c0fb07399d6653a07743 to your computer and use it in GitHub Desktop.
Removes the logo as a background-image from the header
This file contains hidden or 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
/** | |
* 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