Last active
November 17, 2015 16:17
-
-
Save frankschrijvers/49e7124de68265b8e829 to your computer and use it in GitHub Desktop.
Remove site description on all pages except homepage
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
<?php | |
//* Do NOT include the opening PHP tag | |
//* Remove site description on all pages except homepage | |
add_action('get_header', 'wpstudio_remove_header'); | |
function wpstudio_remove_header() { | |
if ( !is_front_page() ) { | |
remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment