• hello, guys.

    I’m trying to create an archive custom page for my blog. I’ve created the archives.php and I added it as a template for the page I’ve created to receive the archive. Just to see if anything would happen, I had this code above, but the page comes out blank, no header, nothing.

    <?php
    /*
    Template Name: Arquivo
    */
    <?php get_header(); ?>
    <div id=”archives”>
    test.
    </div
    <?php get_footer(); ?>

    what am I missing? I know all the code to get the actual archive is missing, but I don’t know why nothing is showing up in the first place,

    my blog is http://www.ritabranco.net/ and this page should come in the post dates.

    thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Well, if you have this specific code you can see your closing div tag is missing an > . Hopefully your only problem is a typo!

    Thread Starter ritabranco

    (@ritabranco)

    I’m afraid it’s a little bit more than that, but thank you, I didn’t noticed that typo error before! I still get a complete blank page though, what am I doing wrong? give the template a name and associate it with a page, there are no more steps, or are there?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘custom page template not working’ is closed to new replies.