Last active
December 21, 2015 20:08
-
-
Save AMNDesign/6358669 to your computer and use it in GitHub Desktop.
Remove the various header elements on your site using the Genesis Framework.
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
<?php | |
//* Remove the Header | |
remove_action( 'genesis_header', 'genesis_do_header' ); | |
//* Remove the site title | |
remove_action( 'genesis_site_title', 'genesis_seo_site_title' ); | |
//* Remove the site description | |
remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); | |
//* Remove the header right widget area | |
unregister_sidebar( 'header-right' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment