• 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

Removing various elements for Landing Page Design

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 › Removing various elements for Landing Page Design

This topic is: resolved

Tagged: functions, landing page, remove elements

  • This topic has 2 replies, 2 voices, and was last updated 12 years ago by mathiasppc.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 14, 2013 at 6:31 pm #46004
    mathiasppc
    Member

    So I`ve decided to create a landing page for my site, and I have to get rid of a lot of elements of my theme. My question is what is the best of the following:

    1. Create the page from scratch. Load custom css and not use wordpress or genesis2. Use genesis functions to remove header, navigation etc... This is what I`ve done up until now

    '

    /** Remove header for Free Solar Consultation */
    add_action('get_header', 'ei_remove_header');
    function ei_remove_header() {
    if (is_page('10355') ) {
    remove_action('genesis_header', 'genesis_do_header');
    remove_action('genesis_header', 'genesis_header_markup_open', 5);
    remove_action('genesis_header', 'genesis_header_markup_close', 15);
    remove_theme_support( 'genesis-footer-widgets', 3 );
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_entry_header', 'genesis_do_breadcrumbs', 9 );
    }
    }

    '

    Any other suggestions are welcome 🙂

    http://energyinformative.org/free-solar-consultation
    June 14, 2013 at 8:33 pm #46015
    AnitaC
    Keymaster

    March this up to Brian Gardner's tutorial here on this subject - http://www.briangardner.com/create-landing-page/.


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

    June 18, 2013 at 12:28 pm #46593
    mathiasppc
    Member

    Thanks!

  • 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