Support » Fixing WordPress » Page Template menu displays page code too?

  • In the ‘Write Page’ section of the admin when I try to select my new template from the Page Template pop up menu the name of the file displays as well as some code in the menu.
    “Colophon Template */ ?>Read the rest of”

    To make sure that the php file was correct I copied code from “page.php” into the new file to test it. All I’ve added at the top is:

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

    The strange thing is, when I tried this with a similar “form” template file I created, the actual form shows up in the ‘Write Page’ section of the wordpress admin covering buttons save, etc. (as well as the template name & code showing up in the menu). And this happened before I’ve even selected it from the Page Template popup.

    This is a new installation and I’ve just started using it.

    Any idea why this might be happening?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I too am having this problem right now (ver. 2.0.6)
    All my templates appear to be created properly, in fact, the same templates work fine in a 2.0.4 version on a similar site.

    I’m bumping this because I couldn’t find anything else remotely similar after searching the forums.

    briceirvine: if you ever revisit this topic

    the following link

    http://wordpress.org/support/topic/25490?replies=20

    solved my problem completely. I hope it does for you too.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Template menu displays page code too?’ is closed to new replies.