Latest: Facebook Like Our Facebook Page For More Updates! | Twitter: @Tech_Terms

Thursday, 11 March 2010

How to: Create and use WordPress page templates


Page templates are very useful: They allow you to creates custom pages, for exemple creating an archive page which will list all your posts, or a page to display infos about the author.
A page template is defined by the following code, inserted on the firsts lines of the file:


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

Here, we just created a page template, named "Archives".


To use it on your theme, write a page, and scroll down until you see a "Page Template" dropdown list, as described in the picture below:


Create and use WordPress page templates


Then you just have to choose which page template to use, and save the page.


  • MBT Icons and buttons

    Tips And Tricks

    Our resources have been successfully got many tricks and tips and shared here too much. Check Yours!

  • choosing webhost for a blog

    Mobile Zone

    Mobile Reviews Shared with thier latest tricks and tips!

  • SEO Settings for blogger

    SEO

    Learn every single SEO tip that will boost your blog's ranking and organic traffic. We got them all!

  • Blogger widgets and plugins

    Check Softwares

    Why not take a tour of all great softwares? You Name it we have it!

  • become a six figure blogger!

    Get Facebook Tricks

    Learn Facebook Tricks!