• Resolved BanditSiix

    (@banditsiix)


    I created this blank page template
    https://mylocalinteractive.com/blank-test-page/

    It is intended on having a completely different look from the blog as I am using this page as a landing page for several different products. But when I create the blank page, and then create the content to put into it, the content doesn’t show up.

    How do I get the page content to show up. I don’t want all the widgets and graphics from the rest of the site to show up of course but just whatever I create in the content part of the page creation.

    I spent some time looking at the codex and page tags etc but I guess I’m just not that smart or patient enough to figure it out.

    If you know the php code snippet I should add and where, I would be eternally grateful if you would share.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I suggest you copy the code from one of your existing template files (maybe page,php or index.php) from <?php if(have_posts()) : while(have_posts()) : the_post(); ?> down to <?php endwhile; ?><?php endif; ?> to your new template. Once you’ve verified that this is working OK, start removing the parts you don’t want – checking the page after each amendment. That way, you should end up with a basic template file.

    Thread Starter BanditSiix

    (@banditsiix)

    Hey esmi,

    Thanks for the help. I hope you get paid for this stuff. I see your posts everywhere.

    I tried what you suggested and since it’s all alien to me, I just kept breaking it. All kinds of errors and no content. I guess I just don’t know enough about php (I don’t know anything)

    If it’s not inappropriate to ask for help from anyone who is willing to give additional help. If someone might look at the source code on my page and tell me what to put in and where. If I had the ability to pay someone right now I would happily. If it’s inappropriate I understand.

    https://mylocalinteractive.com/blank-test-page/

    Thanks again for everyone’s help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple Page Template won’t pull content’ is closed to new replies.