• Resolved junem0

    (@junem0)


    I found this in the codex:

    Page Templates

    WordPress can be configured to use different Page Templates for different Pages. Toward the bottom of the Write > Page administration panel (or on the sidebar, depending on which version of WordPress you are using) is a drop-down labeled “Page Template.” From there you can select which Template will be used when displaying this particular Page.

    ->Where exactly is this? I can’t find any drop-down labelled “page template”

    NOTE: In order to access the Page Template selector, there must be at least one custom Page Template available in the active theme.

    –> I uploaded 2 and I can se them on the list of templates.

    Note: Your .htaccess file must be writeable for Page Permalinks to work, otherwise you must update your .htaccess file every time you create a Page.

    -> where can I find this .htaccess file?

    Thx for any help

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

    A custom page template must have specific comment code at the top of the page before WordPress will recognize it as a custom page template and load it into the dropdown. The dropdown does not appear until WordPress has found at least one custom template.

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

    substitute the template name you wish to see in the drop down for MyTemplate.

    the .htaccess file is found in the root folder of your WordPress installation. If you have not set up permalinks you may not see an htaccess file. In most cases the htaccess file is already writeable by WordPress. That depends on how the webhost has the server configured. When you set up permalinks,WordPress auto-creates an htaccess file if one does not already exist.

    Thread Starter junem0

    (@junem0)

    It works now.I found the drop down box. I guess it just needed a night
    to get settled.

    THanks,

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

The topic ‘Using more then 1 Page template’ is closed to new replies.