• First: I’m from Holland, so I should speak good English, but I don’t. Sorry for the grammatical faults en using the wrong words and things.

    I have a problem with using more page templates. I want more page templates to use on different pages.

    I have page.php:

    <?php
    /*
    Template Name: Page
    */
    ?>

    <?php get_header(); ?>

    <div id="content">

    <div class="left">

    <div class="pagina">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <b><?php the_title(); ?></b>

    <?php the_content('Lees meer »'); ?>

    </div>

    <?php comments_template(); ?>

    <?php endwhile; endif; ?>

    </div>

    <div class="right">

    hjhjh

    </div>

    </div>

    <?php get_footer(); ?>

    And I have cast.php:


    <?php
    /*
    Template Name: Cast
    */
    ?>

    <?php get_header(); ?>

    <div id="content">

    <div class="left">

    <div class="pagina">

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <b><?php the_title(); ?></b>

    <?php the_content('Lees meer »'); ?>

    </div>

    <?php comments_template(); ?>

    <?php endwhile; endif; ?>

    </div>

    <div class="right">

    hjhjh

    </div>

    </div>

    <?php get_footer(); ?>

    Looks fine to me, but it’s not working. If I write or edit a page I can’t find the option.

    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
  • morgs

    (@morgs)

    Hello,

    Wish I could help, but I am simply having the same problem. Please post if you find a solution. Ta

    morgs

    (@morgs)

    Seems that switching to the default them and then back to my theme is what worked for me.

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