Different templates for different pages
simply add to top of page and you will have the option “News” to be applied to your News page:
< ?php
/*
Template Name: news-events
*/
? >
Default Theme Page Templates
The Default theme contains three Page Templates for your use:
- page.php – Default Page Template: displays Page content
- archives.php – ignores Page content and instead displays a list of Archives by Month and Archives by Subject (by Category)
- links.php – ignores Page content and instead displays your links using wp_list_bookmarks()
This entry was posted on Thursday, May 21st, 2009 at 6:03 pm and is filed under wordpress & more .