Genesis Delightful Theme Landing Page Template

Community Forums Forums General Discussion Genesis Delightful Theme Landing Page Template

This topic is: resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Lauren Gaige 1 year, 6 months ago.

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


    So I am trying to remove the footer, header adsense ad, and page title from this landing page:

    I want a clean white sheet with the theme background.

    I went into the child theme page_landing.php and found this code:

    // Add custom body class to the head
    add_filter( 'body_class', 'delightful_add_body_class' );
    function delightful_add_body_class( $classes ) {
       $classes[] = 'delightful-landing';
       return $classes;
    // Remove header, navigation, breadcrumbs, footer widgets, footer 
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
    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_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );
    remove_action( 'genesis_after', 'genesis_footer_widget_areas' );
    remove_action( 'genesis_after', 'genesis_footer_markup_open', 11 );
    remove_action( 'genesis_after', 'genesis_do_footer', 12 );
    remove_action( 'genesis_after', 'genesis_footer_markup_close', 13 );

    Is there something I can edit or ad to remove the footer, page title, and adsense ad at the top of the page? This is for my wife’s site.




    I do beleive those codes for Adsense were added from the Genesis settings tab, They have a Header and Footer, section were you can add any HTML coding.

    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals / Follow me Twitter /


    Lauren Gaige

    Hi Donnie,

    Just emailed you the fix through my support desk.

    But for anyone else needing the answer…

    Change the line that says:

    remove_action( ‘genesis_after’, ‘genesis_footer_widget_areas’ );


    remove_action( ‘genesis_before_footer’, ‘genesis_footer_widget_areas’ );

    and that will remove the footer-widgets from the page landing.

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

The topic ‘Genesis Delightful Theme Landing Page Template’ is closed to new replies.