• 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

Genesis Delightful Theme Landing Page Template

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 › General Discussion › Genesis Delightful Theme Landing Page Template

This topic is: resolved

Tagged: delightful, genesis, landing, landing page, template

  • This topic has 2 replies, 3 voices, and was last updated 9 years, 4 months ago by Lauren Gaige.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 22, 2014 at 12:08 pm #106360
    donnielaw
    Member

    So I am trying to remove the footer, header adsense ad, and page title from this landing page: http://justagirlandherblog.com/book.

    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 );
    
    genesis();

    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.

    Thanks,

    Donnie

    http://justagirlandherblog.com
    May 22, 2014 at 5:29 pm #106419
    RobG
    Member

    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 http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    May 22, 2014 at 7:08 pm #106428
    Lauren Gaige
    Member

    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' );

    to

    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );

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


    Lauren
    http://www.restored316designs.com

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Genesis Delightful Theme Landing Page Template’ 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

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