• 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 and footer in Genesis sample 2.4.2

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 and footer in Genesis sample 2.4.2

This topic is: not resolved

Tagged: remove header and footer

  • This topic has 2 replies, 2 voices, and was last updated 8 years ago by ᴅᴀᴠɪᴅ.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 23, 2017 at 3:19 pm #212861
    simone
    Member

    Hello,
    Can someone please help me?
    I'd like to remove header and footer from the child theme Genesis sample.
    I tried with the CSS code down here. But the header stays on the homepage and the footer is not removed.
    I searched on the forum but couldn't find the right solution.
    Thank you,
    Simone

    //* Remove site header elements
    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 );

    //* Remove site footer widgets
    remove_theme_support( 'genesis-footer-widgets' );

    //* Remove site footer elements
    remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
    remove_action( 'genesis_footer', 'genesis_do_footer' );
    remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );

    http://www.atelierdewitte.nu
    October 23, 2017 at 5:54 pm #212863
    ᴅᴀᴠɪᴅ
    Member

    that code looks right, however, it isn't CSS. It is PHP and needs to go at the bottom of your functions.php file.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    October 23, 2017 at 5:56 pm #212864
    ᴅᴀᴠɪᴅ
    Member

    Also, the most recent version of the Genesis sample theme is only 2.3.0


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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