• Resolved RoX

    (@144icom)


    Hello

    i thought it’s an easy task …
    i want to create a simple blank page template without any css, header, sidebar, footer .. onle a blank white page.

    FileName: my-custom-page.php
    My Code:

    <?php
    /*
    Template Name: My Custom Page

    */

    ?>

    Than when i create simple content in wp editor and choose my template – only a blank page appears – without content. No error message.

    What’s wrong?

Viewing 1 replies (of 1 total)
  • Thread Starter RoX

    (@144icom)

    solved!

    this part missed:

    <?php while ( have_posts() ) : the_post(); ?>
    <?php the_content(); ?>
    <?php endwhile; // end of the loop. ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Blank Page Template’ is closed to new replies.