WordPress.org

Ready to get started?Download WordPress

Forums

Creating Landing Pages (6 posts)

  1. DaveD90
    Member
    Posted 2 years ago #

    Hi, real simple question with probably a complex answer. How can I build landing pages that are not built within the frame/structure of my site? I want a blank page without the header etc.

    Can anyone point me in the right direction?

    Thanks!

  2. Jonathan Dingman
    Member
    Posted 2 years ago #

    You can easily create a custom page template, then don't include get_header() or get_footer() in the template.

  3. DaveD90
    Member
    Posted 2 years ago #

    Oh that is awesome. Thank you so much. To make the page it says it is in the themes directory. I am in the edit themes and I see the templates to the right. Am I able to add a new one within WordPress from there? Sorry for the simple questions I am still learning.

  4. DaveD90
    Member
    Posted 2 years ago #

    I was able to make a template. I called it blanklandingpage.php
    Basically I am looking for a blank canvas for images & text. When I use the template - nothing comes out when I save it or preview it. I am a total newbie so I am obviously missing something. Can anyone point me in the direction?

  5. Jonathan Dingman
    Member
    Posted 2 years ago #

    Hi Dave,

    You'd need to include at least one loop for content to be displayed:

    http://codex.wordpress.org/The_Loop

    Then, when you're on a specific Page inside wp-admin, make sure you choose the correct template to be used with that Page.

    The loop will show content however you want it displayed.

    This is also a good read, on how to build a WordPress theme:

    http://codex.wordpress.org/Theme_Development

  6. DaveD90
    Member
    Posted 2 years ago #

    Great, I will check those out. I appreciate the help very much.

Topic Closed

This topic has been closed to new replies.

About this Topic