• Hi,

    I am wondering how to keep the same theme design on a custom page.

    All I want to do on the new page is add a different header (interactive google map), and it seems the only way to do it is create a new page template and just add the code in for the new header. The only thing is I don’t know how.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can check out: http://codex.ww.wp.xz.cn/Theme_Development#Template_Files_List

    Basicly there is multiple ways of doing it.

    I prefer to use the page-{page-name}.php method but if you need the template for other pages then you should create file called “new-template.php” and at the top of it put

    <?php
    /**
     * Template Name: New Template
     */

    Copy all the code from the page you are wanting the design from and paste it into this file. Now you can make change to the template file without effecting your other page templates.

    The second method i mentioned will show up under the page attribute metabox when editing or creating a new page.

    Thread Starter CDGi

    (@cdgi)

    Ok…..

    I am lost. I am sum-what new to WordPress and know html and css, that’s it.

    So, I created a .php file and put that code above in. What code do I copy under that. I tried the html code from the page and juts got a white page.

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

The topic ‘Adding new page template Questions’ is closed to new replies.