WordPress Page Templates

At some point we all misuse phrases and terms. In the website world, the terms “templates” and “themes” are often confused. Very often a WordPress template are considered as WordPress theme and vice versa. Well that is part right. WordPress theme is simply the way your complete blog looks and represents you or your business online i.e. your website. A template is the way for securing consistency in the look and feel of all the pages that you want to appear the same way. Templates takes into consideration font style, page design for example. However you can create individual templates for individual page appearances. A WordPress template within a WordPress theme, can be used therefore change the look of the inner page(s) of a theme. So for instance, if you would like to have an author page, you can create that so that it is a little different than your other base pages. You would have one template for the author page and another for all remaining base pages. A common desire is to have a way to make a different design on certain pages with my themes. This is where I can assist to create additional templates within your overall theme. They are really easy to create and build. Here’s how:

What you have to do first.

Well probably the easiest to create, and unknown to many, is called a snarfer file. A snarfer file is a file that you add to your theme folder so that you can use it as a template. Let me give you a scenario. You would like to have a template specifically for your ‘about’ page. That way you can add other elements into the page that your other pages don’t have. Or maybe you don’t want comments for this page. Simply go to the theme folder on your server and create a file named About.php. The first thing that you have to do with this file is add the following code to the top:

< ?php
/*
Template Name: //What you want the template name to be 
*/
?>

Next you have to add the rest of the code to create the template. One of the easiest things to do is just add all the code from the Page.php file and change it as you need. That way it won’t look different from your other pages but you can still add and delete what ever you want, hence creating a slightly different template for your desired page. After you have completed the customization of the new template file all you have to do is set the page to use the template page.

Almost Done

To finish your template page login to WordPress and go to your newly created page. Now go to the right side of the page and you should see a place that says template with a drop down menu. Drop that down and your template name should be right there. Select it and save and you are done.

Website Design , Development, and SEO Marketing

If you need assistance with web design, web development, search engine optimization, or marketing done to one of your sites please feel free to contact me or Chosen. Chosen is a small, but growing Lansing-based firm offering Web Development, Web Design, Web Hosting, and Web Marketing skills. We have done work for clients and companies, by preference, but we also take contract work. We have worked with most of the biggest web companies in the Lansing Area and all the way out to California. We would love to hear from you.

Popularity: 15% [?]

(19) Responses to “WordPress Page Templates”

  1. thankful-reader Says:
    -

    Shane,

    Easy easy — you answered my question without wasting my time. It worked like a charm.

    Thanks!

Trackbacks

  1. Are there any blogger template editors? | Free Blog Template [...] WordPress Page Templates [...]
  2. How to increase my blogs traffic? | Free Blog Template [...] WordPress Page Templates [...]
  3. About blogs? | Free Blog Template [...] WordPress Page Templates [...]
  4. How do I customize a blog on blogspot? | Free Blog Template [...] WordPress Page Templates [...]
  5. Wedding Photography Blog? | Free Blog Template [...] WordPress Page Templates [...]
  6. How to start a blog? Websites that offer free web hosting? | Free Blog Template [...] WordPress Page Templates [...]
  7. Where can I find a free website hosting place where i can put up pics n blogs n music etc? | Free Blog Template [...] WordPress Page Templates [...]
  8. what is the best way to go a blog or website for talking about animals and my pets? | Free Blog Template [...] WordPress Page Templates [...]
  9. How can I have the same system of publishing informations used in Blogs at my own website? | Free Blog Template [...] WordPress Page Templates [...]
  10. How do I get a 3 column blog? | Free Blog Template [...] WordPress Page Templates [...]
  11. How do you get a different template in blogspot? | Free Blog Template [...] WordPress Page Templates [...]
  12. Free Website and Blog? | Free Blog Template [...] WordPress Page Templates [...]
  13. Why can’t I get my Blogger blogs indexed in Google? They have PR & I’ve done good SEO, but still no SERPs. | Free Blog Template [...] WordPress Page Templates [...]
  14. when I change my template from blogger, does it erase all my posts? | Free Blog Template [...] WordPress Page Templates [...]
  15. can anyone tell me from where i can find good templates for my blogs? | Free Blog Template [...] WordPress Page Templates [...]
  16. Webmaster Crap » Blog Archive » WordPress Page Templates [...] See the original post here: WordPress Page Templates [...]
  17. WordPress Page Templates | Wordpress News [...] WordPress Page Templates Posted by Admin on 8 September, 2009 No comments yet This item was filled ...
  18. Posts about SEO as of September 7, 2009 | All About WordPress [...] about SEO as of September 7, 2009 Monday, September 7th, 2009 WordPress Page Templates ...

Leave a Reply

Your Avatar
Your Name
March 12th, 2010