• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

remove header completely

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › remove header completely

This topic is: resolved

Tagged: remove header

  • This topic has 6 replies, 4 voices, and was last updated 13 years, 8 months ago by SoZo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 30, 2013 at 4:36 am #16361
    hp
    Member

    I tried

    remove_action( 'genesis_header', 'genesis_do_header' );

    But when viewing source, I still see

    <div id="header"><div class="wrap"></div><!-- end .wrap --></div><!--end #header-->

    How to remove it completely please?

    Thanks.

    January 30, 2013 at 5:21 am #16363
    AnitaC
    Keymaster

    Depending on what theme you are using - look in the home.php file.


    Need help with customization or troubleshooting? Reach out to me.

    January 30, 2013 at 5:35 am #16367
    hp
    Member

    I am customizing Sample theme, and it doesn't have home.php file.

    January 30, 2013 at 5:47 pm #16571
    Brad Dalton
    Participant

    This code only removes the header but not all elements.

    remove_action( 'genesis_header', 'genesis_do_header' );
    

    You can also remove the header right widget, site titles and description:

    remove_action( 'genesis_site_title', 'genesis_seo_site_title' );
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );
    unregister_sidebar( 'header-right' );
    

    Tutorials for StudioPress Themes.

    January 30, 2013 at 6:03 pm #16576
    SoZo
    Member

    You need to add this to remove the header and the divs

    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );

    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    January 30, 2013 at 6:14 pm #16583
    hp
    Member

    Thanks SoZo. Where can I learn more about those options please? I cannot find them out in Resources.

     

    January 30, 2013 at 6:16 pm #16584
    SoZo
    Member

    The best place to look is in the Genesis files themselves. I'm not aware of anywhere that all the possible actions are detailed.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘remove header completely’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble