Forums

Page Template Not Showing (8 posts)

  1. msdana
    Member
    Posted 5 years ago #

    I'm having a problem with the Page Templates not showing up in the Write > Page section. Like a nitwit, I posted my problem in a resolved topic. Refer to this post:

    http://wordpress.org/support/topic/84519?replies=3

    It has to do with my theme, I believe, but I'm not sure where to begin checking.

    Any help would be appreciated!!

    Thanks in advance!

  2. drmike
    Member
    Posted 5 years ago #

    Is the header in there?

    Pages#Creating_your_own_Page_Templates

  3. MattGeri
    Member
    Posted 4 years ago #

    Add:

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

    Just had the same problem. Works a charm when you put that at the top of your template :)

  4. moshu
    Member
    Posted 4 years ago #

    It doesn't work IF you don't have at least 2 Page templates: the default page.php AND another one :)

  5. earthtojens
    Member
    Posted 4 years ago #

    I have the same problem with the K2 theme. K2 has a page-comments.php template that I want to use but I can't make the Page Template show up in the Write > Page section.

    What does the default page need to be named? default.php, defaultpage.php or page.php?

  6. CowboyFrank
    Member
    Posted 4 years ago #

    I have the same problem as earthtojens... The Page Template option only displays "Default Template" in the dropdown, despite the fact that I have loaded 3 templates into the theme folder.

  7. CowboyFrank
    Member
    Posted 4 years ago #

    Looks like it's a browser issue - I was using Firefox on a Mac, and switching to Safari solved the problems.

  8. gossip509
    Member
    Posted 4 years ago #

    Here is how I solved my "Page Template Dropdown Not displaying on the right side" and "Archives not displaying"

    1. Log out from WordPress admin

    2. Open your archives.php page in a text editor. Add this code below on the top on the archives.php page (if it's not there). (Please back-up your archives.php file before editing it)

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

    2. Login to wordpress admin, write a new page... then you should see the Page Template on the right side...[select Archives]

    Good luck

Topic Closed

This topic has been closed to new replies.

About this Topic