WordPress Page Templates
Sep 7th, 2009
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 verse. 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.
Sponsors
Visit PS Print and learn how you can create effective and excellent-looking business cards at a fraction of a cost!
Popularity: 3% [?]













Pingback: when I change my template from blogger, does it erase all my posts? | Free Blog Template
Shane,
Easy easy — you answered my question without wasting my time. It worked like a charm.
Thanks!
Pingback: 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
Pingback: Free Website and Blog? | Free Blog Template
Pingback: How do you get a different template in blogspot? | Free Blog Template
Pingback: How do I get a 3 column blog? | Free Blog Template
Pingback: How can I have the same system of publishing informations used in Blogs at my own website? | Free Blog Template
Pingback: what is the best way to go a blog or website for talking about animals and my pets? | Free Blog Template
Pingback: Where can I find a free website hosting place where i can put up pics n blogs n music etc? | Free Blog Template
Pingback: How to start a blog? Websites that offer free web hosting? | Free Blog Template
Pingback: Wedding Photography Blog? | Free Blog Template
Pingback: How do I customize a blog on blogspot? | Free Blog Template
Pingback: About blogs? | Free Blog Template
Pingback: How to increase my blogs traffic? | Free Blog Template
Pingback: Are there any blogger template editors? | Free Blog Template