inserting just the page content in a landing page

Community Forums Forums General Discussion inserting just the page content in a landing page

This topic is: not resolved

This topic contains 5 replies, has 4 voices, and was last updated by  mjim 1 year, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #59269

    mjim
    Participant
    Post count: 9

    I need to design a completely different look and layout for one landing page.

    I need to use Gravity forms within the content area.

    When I create a landing page template several elements from the original design are still visible.

    I realize I could hide them with css but that doesn’t help me create the code for the new layout and design.

    What I want to do with a custom template is remove everything except the content.

    Ex:
    html…
    insert page content
    html

    I have spent many hours reading all the custom loop tutorials but none explain how to simply insert the content from that page into a specific area on my custom template.

    Any suggestions?

    Note: using Genesis 1.8.2 and Prose theme.

    #59276

    PerryG
    Participant
    Post count: 6

    I haven’t used the Prose theme. Does it have a landing page option under Page Attributes > Template?

    #59279

    mjim
    Participant
    Post count: 9

    Yes, it does have a landing page but there are still elements from the original design that are visible so I can’t use it.

    As well, it doesn’t give me the custom loop that I need to just show the page content within custom html.

    Here is what the page looks like with the landing page http://www.westernhorsereview.com/magsubscriptions2/

    #59373

    bandj
    Participant
    Post count: 184

    make a new template, start with a copy of the landing page template and if you want to remove some things, for example the header, check this post:

    http://gregrickaby.com/genesis-code-snippets/


    • This reply was modified 1 year, 1 month ago by  bandj.
    • This reply was modified 1 year, 1 month ago by  bandj.
    #59411

    Sridhar Katakam
    Participant
    Post count: 1048

    Looks like http://www.westernhorsereview.com/magsubscriptions2/ is using a custom Subscriptions template, not Landing Page.

    I just tested applying built-in Landing Page template to a Page in Prose 1.5.2 with Genesis 2.0.1 and it appears just like how you want – with no unwanted elements.

    Screenshot: http://i.imgur.com/sOQTYpp.png


    #59549

    mjim
    Participant
    Post count: 9

    Thanks bandj and Sirdhar.

    I did create a custom page from the landing page template.

    Removing elements wasn’t going to work for me because I needed a completely new design.

    I knew it was something extremely simple but couldn’t find the documentation anywhere.

    Here is how I solved it.

    <?php
    /*
    Template Name: Magazine Subscription
    */
    
    //REMOVE POST TITLE
    remove_action('genesis_post_title', 'genesis_do_post_title');
    ?>
    
    My custom header here
    <?php genesis_loop(); ?>
    My custom footer here
    
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.