• 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

Creating Landing Page Template for Infusionsoft HTML

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 › Creating Landing Page Template for Infusionsoft HTML

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 12 years, 10 months ago by WMcKinley.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 4, 2013 at 6:39 pm #24224
    pensacoladisabilitylawyer
    Member

    I'm trying to create a landing page template for my Infusionsoft code.

    Landing page is here: http://nickortizlaw.com/free-car-accident-book/

    As set out on http://www.briangardner.com/create-landing-page/, I created a page_landing.php file and uploaded to child theme (Frederik by http://www.web-savvy-marketing).

    Here is the code so far:

    <?php
    /*
    Template Name: Landing
    */

    // Add custom body class to the head
    add_filter( 'body_class', 'add_body_class' );
    function 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_post_title’, ‘genesis_do_post_title’);
    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_header', 'genesis_do_nav' );
    remove_action( 'genesis_after_header', 'genesis_do_nav' );
    remove_action( 'genesis_after_header', 'genesis_do_subnav' );
    remove_action( ‘genesis_after_header’, ‘genesis_do_breadcrumbs’);
    remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs');
    remove_action( 'genesis_before_footer', '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 );
    remove_filter(‘the_content’, ‘get_author_bio’);

    genesis();

    However, I still have a header/title, breadcrumb, author box, footer and more.

    Issues: (1) I'm trying to have clean slate for landing page;

    (2) Not sure why there is a bunch of space from the breadcrumb to the header of landing page.

    Any assistance to create blank landing page template would be greatly appreciated!

    March 8, 2013 at 12:19 pm #25023
    jjeaton
    Member

    Have you made sure to set the Page Template of your landing page in the page editor to "Landing"?

    March 8, 2013 at 5:28 pm #25076
    WMcKinley
    Member

    regarding issue 2 - I looked at your page in Firebug and changed one little thing to pull the body of the page up to the top

    .entry-content p {
    margin: 0 0 -25px;

    It was 25px and I changed it to -25px

    Also it looks like there's some code that isn't doing anything adding to that problem

    li, ol, ul {
    margin: 0;
    padding: 0;

    It's creating a bullet point in the upper right because that's code for a list where there is none. I would cut that out.

    I'm not positive this is "best practice" but it worked.

    Anyone reading this that doesn't have Firebug - it's a must-have tool for this kind of stuff.

    Cheers.


    W. McKinley – PowerEmini.com

  • 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

© 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