Removing various elements for Landing Page Design

Community Forums Forums Design Tips and Tricks Removing various elements for Landing Page Design

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  mathiasppc 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #46004

    mathiasppc
    Participant
    Post count: 27

    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
    #46015

    anitac
    Participant
    Post count: 6434

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


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #46593

    mathiasppc
    Participant
    Post count: 27

    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.