• 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

Landing Page Plugin

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 › Landing Page Plugin

This topic is: resolved

Tagged: Landing page plugin

  • This topic has 19 replies, 2 voices, and was last updated 12 years, 10 months ago by Teresa.
Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • December 17, 2013 at 10:30 am #79780
    Teresa
    Participant

    I may have dreamed it, but I thought I saw a post that mentioned a new plugin that would create a Landing Page
    if the Child theme didn't have one. I've searched the Forum and I've even Googled it, but nothing is coming up.

    I'm doing some major reconstruction on http://www.CenterForEmpoweredWomen.com and really need the Landing Page.

    Did I imagine it, or does anyone know what I'm talking about?

    Thanks.

    Teresa

    http://www.centerforempoweredwomen.com
    December 17, 2013 at 11:21 am #79793
    nutsandbolts
    Member

    Brad Dalton has a tutorial on creating a landing page template. Maybe that's what you were thinking of? http://wpsites.net/web-design/how-to-create-a-custom-landing-page-template-for-genesis/


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 17, 2013 at 1:29 pm #79808
    Teresa
    Participant

    I was able to create the Landing Page with the tutorial, but something is still wrong. The top navigation and the footer widgets are still there.

    This is the page: http://www.centerforempoweredwomen.com/thank-you-and-welcome/

    What did I do - or not do?

    Thanks so much.

    Teresa

    December 17, 2013 at 11:20 pm #79870
    nutsandbolts
    Member

    All the changes below need to be made in your landing page template, NOT in functions.php (just making sure so you don't break the rest of your site!)

    Okay, for the nav -

    Find this in your landing page template:

    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_before', 'genesis_do_subnav' );

    Remove it and replace with this:

    remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_nav' );
    remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_subnav' );

    For breadcrumbs, find this:

    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs' );

    and replace with this:

    remove_action( 'genesis_before_content', 'genesis_do_breadcrumbs' );

    For the footer, find this:

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

    and replace with this:

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

    That should take care of it - you didn't do anything wrong, your theme just has a few elements repositioned vs. the theme he used in the tutorial. Let me know if the footer doesn't go - that's the only one I'm not 100% sure about.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 18, 2013 at 7:13 am #79939
    Teresa
    Participant

    The footer did not go, but the rest of it is fixed.

    If I can get that straightened out, it will be good to go.

    Thank you, Andrea. I really appreciate your help.

    Teresa

    December 18, 2013 at 7:21 am #79940
    nutsandbolts
    Member

    Darn! Really? That's working beautifully for me on a test site with the Education theme.

    Can you paste in your entire landing page template as it is now?


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 18, 2013 at 9:27 am #79960
    Teresa
    Participant

    I'm sure it's something I've done. Here you go:

    <?php
    /**
    * This file adds the Custom Landing template to the Education Theme.
    *
    * @author Brad Dalton
    * @package Generate
    * @subpackage Customizations
    */

    /*
    Template Name: Landing
    */

    // Add custom body class to the head
    add_filter( 'body_class', 'education_add_body_class' );
    function education_add_body_class( $classes ) {
    $classes[] = 'custom-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_before_content_sidebar_wrap', 'genesis_do_nav' );
    remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_subnav' );
    remove_action( 'genesis_before_content', 'genesis_do_breadcrumbs' );
    remove_action( 'genesis_after', 'genesis_footer_widget_areas' );
    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 );

    genesis();

    December 18, 2013 at 4:29 pm #80044
    nutsandbolts
    Member

    That works perfectly on my test site... Do you have the Simple Edits plugin installed, by chance? If so, try deactivating it and see if the footer goes away on the landing page. If so, we can code your footer edits into functions.php so Simple Edits doesn't override the template.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 18, 2013 at 5:43 pm #80067
    Teresa
    Participant

    I do have Simple Edits installed, but I've done some tinkering with the template and now something else weird has happened.

    If you look at the page again: http://www.centerforempoweredwomen.com/thank-you-and-welcome/ you'll see that the footer widget is gone, but the top Navigation menu is back.

    What I did was this: I copied the Landing page .php from the Balance theme and substituted it for the one we were using that got rid of the top Navigation, but left the Footer Widgets.

    It got rid of the Footer Widgets and brought back the top Navigation. How's that for weird? LOL

    Any suggestions now? I can start all over - whatever you suggest. If we simply can't get rid of the top Navigation, that's better than having the Footer widgets, but I'd like to get rid of all of it.

    Thanks so much for your patience.

    Teresa

    December 18, 2013 at 5:45 pm #80068
    nutsandbolts
    Member

    Try adding this:

    remove_action( 'genesis_after_header', 'genesis_do_nav' );


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 18, 2013 at 6:15 pm #80072
    Teresa
    Participant

    Does it matter where I add it?

    Thanks.

    Teresa

    December 18, 2013 at 11:08 pm #80101
    nutsandbolts
    Member

    It shouldn't matter, no. *crosses fingers*


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 19, 2013 at 9:16 am #80203
    Teresa
    Participant

    It didn't work. So I'm going to start over and go through it step-by-step like I've done with your help for the past 2 days.

    I have a better idea of what I should be looking for this time. Maybe I can catch the problem when it happens.

    If I Deactivate the Genesis Simple Edits plugin, will that cause the theme to revert to the original content, or will it keep the changes I've made?

    I'll start working on the Landing Page right now and keep you posted.

    Thank you so much Andrea. I know this takes time away from your own business projects and I deeply appreciate your help.

    Teresa

    December 19, 2013 at 2:58 pm #80314
    nutsandbolts
    Member

    Your changes will revert without Simple Edits. However, if you paste in the changes you've made, I can write functions for you to put in functions.php so you won't need Simple Edits anymore.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 19, 2013 at 4:14 pm #80330
    Teresa
    Participant

    I deeply appreciate your help. But I think I've fixed most of it. Here is the link to the page:
    http://www.centerforempoweredwomen.com/thank-you-and-welcome/

    And here is the code that I finally got to remove both the top Navigation and the footer widgets:

    <?php
    /**
    * This file adds the Landing template to the Education Theme.
    *
    * @author StudioPress
    * @package Education Pro
    * @subpackage Customizations
    */

    /*
    Template Name: Landing
    */

    //* Add landing body class to the head
    add_filter( 'body_class', 'education_add_body_class' );
    function education_add_body_class( $classes ) {

    $classes[] = 'education-landing';
    return $classes;

    }

    //* Force full width content layout
    add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

    // 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_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_nav' );
    remove_action( 'genesis_before_content_sidebar_wrap', 'genesis_do_subnav' );
    remove_action( 'genesis_before_content', 'genesis_do_breadcrumbs' );

    //* Remove site footer widgets
    remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );

    //* 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 );

    //* Run the Genesis loop
    genesis();

    The only thing I want to do now is to change the container width so that the text doesn't spread out so wide. I tried to use the one Brad Dalton suggested, but I didn't have any luck with it.

    If you can help me with that, I will be ever so grateful and I'll leave you alone - at least temporarily 🙂

    Thanks so very much.

    Teresa

    December 19, 2013 at 4:49 pm #80338
    nutsandbolts
    Member

    The container is getting its width from the stylesheet - the .full-width-content #content-sidebar-wrap is set to 100% and .full-width-content #content is set to 1040px.

    Try adding this to your stylesheet to see if it works without breaking the other full width pages on the site (it shouldn't, but you never know):

    /* Landing Pages
    ------------------------------------------------------------ */
    .education-landing #content {
    	width: 960px;
    	margin: 0 auto;
    	padding: 30px;
    }
    
    .education-landing #content-sidebar-wrap {
    	width: 930px;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 19, 2013 at 5:08 pm #80344
    Teresa
    Participant

    That definitely shrunk the container, the text still goes outside it. Is there a way to keep the text inside the container?

    http://www.centerforempoweredwomen.com/thank-you-and-welcome/

    You are an angel to help me like this. I deeply appreciate it.

    Thanks.

    Teresa

    December 19, 2013 at 5:16 pm #80345
    nutsandbolts
    Member

    This gets it a little closer, though it still isn't centered on the page (which is driving me crazy):

    /* Landing Pages
    ------------------------------------------------------------ */
    .education-landing #content {
    	width: 900px;
    	margin: 0 auto;
    	padding: 40px;
    }
    
    .education-landing #content-sidebar-wrap {
    	width: 960px;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 19, 2013 at 5:25 pm #80347
    nutsandbolts
    Member

    Try this one:

    /* Landing Pages
    ------------------------------------------------------------ */
    .education-landing #content {
    	width: 900px;
    	margin: 0 auto !important;
    	padding: 40px;
    }
    
    .education-landing #content-sidebar-wrap {
    	width: 960px;
    }
    
    .education-landing .wrap {
    width: 960px !important;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 19, 2013 at 5:27 pm #80348
    Teresa
    Participant

    You did it!

    http://www.centerforempoweredwomen.com/thank-you-and-welcome/

    How can I ever thank you??

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 20 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

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