• Resolved dutch-admin

    (@dutch-admin)


    I need a code tu put different template for each page of my site

Viewing 3 replies - 1 through 3 (of 3 total)
  • ardgedee

    (@ardgedee)

    There are multiple ways to do this, depending on how you want the site set up. The simplest way is to create all the templates you need, adding the following to the very top of each:

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

    And then select that template’s name from the Templates list in that page’s editor. Detailed instructions are available in the WordPress Codex entry about Page Templates.

    Thread Starter dutch-admin

    (@dutch-admin)

    But i create the template then i put the code on template and after hat wat i do???

    Samuel B

    (@samboll)

    go to
    admin – pages – edit/add new
    right sidebar has dropdown box for selecting differing templates – if you created yours as correctly as pointed out above

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template for each Page’ is closed to new replies.