Skip to content

Instantly share code, notes, and snippets.

@AMNDesign
Last active December 21, 2015 20:08
Show Gist options
  • Save AMNDesign/6358669 to your computer and use it in GitHub Desktop.
Save AMNDesign/6358669 to your computer and use it in GitHub Desktop.
Remove the various header elements on your site using the Genesis Framework.
<?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