• Hey, i got 2 wordpress sites. In one, when creating page, u can set his template (e.g contacts) and on another i cant see this feature. Why?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Because it does not have page templates ?
    It could be any number of reasons from the little you have stated.

    Thread Starter fyntas

    (@fyntas)

    How it can to not have page templates? I using same wordpress version! And I NEED that contacts template! How can it not be there? And how i can to make that template?

    Copy the template from your other install and upload it into your theme folder?

    Thread Starter fyntas

    (@fyntas)

    Tou dont understand my problem. I cant set page template IN ADMIN PANEL. There is no feature like that. This is not a problem whith theme.

    I might have had the same problem. You’re saying that there’s no dropdown menu for Page Template, right? To resolve it, go to Custom Fields box, select “_wp_page_template” from Key dropdown menu, and set the Value with the name of Page Template that you have. Click on “Add Custom Field” and the Page Template dropdown menu should re-appear.

    Just to clarify. On a new installation (of v2.0.1) there is no “Key dropdown menu”. Putting “_wp_page_template” in the “Key” textbox and something in the “Value” text area, and hitting the “Add Custom Field Button” will cause the drop down box to appear with “_wp_page_template” as a choice.

    However, while that was my first attempt, I really don’t think that’s enough information to get Custom Fields working (they don’t appear in the Key/Value/Action table on the page editing screen), and it’s not the answer to the question here. [And since I don’t need Custom Fields for anything else at the moment, I’ll ignore that problem.]

    THIS question, as I understand it, is how to get the page template menu to appear (on the right hand side of the page editing screen). The answer is relatively simple. Create a new template, my_template_name.php, in the theme directory AND be sure it has the following lines at the top:

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

    The documentation IS clear, see
    https://codex.www.ads-software.com/Pages
    but may not be “heard” correctly by those who are new to the whole process.

    See also
    https://www.ads-software.com/support/topic/52511

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot set page template’ is closed to new replies.