• 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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can easily create a custom page template, then don’t include get_header() or get_footer() in the template.

    Thread Starter DaveD90

    (@daved90)

    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.

    Thread Starter DaveD90

    (@daved90)

    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?

    Hi Dave,

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

    https://codex.www.ads-software.com/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:

    https://codex.www.ads-software.com/Theme_Development

    Thread Starter DaveD90

    (@daved90)

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Creating Landing Pages’ is closed to new replies.