WordPress Page Templates by eckert


You can make your own page templates for WP by making a new PHP file on the server. Name it accordingly, for this example, I will call it specialpage.php.

Within that file place the following code at the top

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

Now you can continue with your page.  Use the default wordpress codes for getting your header, sidebar and footer and do whatever you want in between.  I usually just copy and paste all the code from the default page.php and then modify it accordingly.

When editing a page, select Page Templates in the bottom options. If you’ve done this correctly, you will see specialpage as an option. Select it for whichever pages you desire and those pages will follow that template.

Tags: ,

6 Responses to “WordPress Page Templates”

  1. It’s Called Web Design » Showing posts from a Category Says:

    [...] this is how. You need to make a page template first. If you do not know how to do that, check out THIS TUTORIAL [...]

  2. Lars Nielson Says:

    Is the a limit on how long your comments can be? Timed out about 5 times when trying to post a 8 line long comment.

  3. eckert Says:

    not that i know of.

  4. Taylor Reid Says:

    Wordpress is the best blogging platform ever. It is much better than Typepad and blogspot..*:

  5. web designer Says:

    Hey Lars, I do not think that there is any type of limit that I know of.

  6. xbox fans Says:

    xbox details…

    I not really know what life could bring you. I’m not sure if dreams are available true. I don’t know what love can do. But I know about a very important factor. Cute tayo….

Leave a Reply


It’s Called Web Design is sponsored by Seeing Interactive and powered by WordPress
Entries (RSS) and Comments (RSS).
53 queries. 0.313 seconds.