public
Last active

Remove the header elements of your site using the Genesis Framework.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8 9 10 11
<?php
//* Do NOT include the opening php tag
 
//* 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' );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.