• For some reason my Page Templates that have historically worked just fine are no longer showing up in the page edit dialog. In fact, it says the theme is broken b/c it’s missing a template file.

    But I’ve checked the FTP directories and all the files are there. And the site is using the theme – except for my page templates.

    What am I missing?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you check the top of each page template to see that the markup that designates it as a template is there? Example:

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

    if it isn’t, the template won’t show up in the Page Template menu on the edit/write page admin screen… and then wouldn’t use the that template, of course.

    More than that…
    You need the default (page.php) AND your own to have the Page Template dropdown showing up!

    Thread Starter ubahmapk

    (@ubahmapk)

    Yes, I have the Template Name: Home code at the top of the file.

    moshu, I don’t remember needing the page.php file before? Has that changed? Will just any generic file do? I guess I could copy the index.php to page.php and see if that works….

    Thread Starter ubahmapk

    (@ubahmapk)

    I copied the index.php file to page.php, but I still only get the “Default Template”, “Archives”, and “Links” templates on my edit page. And it still says my theme is broken.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page Templates’ is closed to new replies.