View Single Post
Old 12-20-2005, 10:49 AM  
Scotty.T
Confirmed User
 
Join Date: Nov 2004
Location: Scotland
Posts: 1,062
Quote:
Originally Posted by nico-t
by the way talking about pages - right now im making a new page for a blog and i dont want the date etc. on top of the page, since it will be a 'static' page.
How do i do that? In the theme im using there isnt a seperate 'page.php' file or something.
Here's my good deed for the day

If you don't have a page.php then maybe it is called something else in your theme.

To make a page.php copy your index.php or whatever file closest resembles the way you want your final page to look. Rename it whatever you want and then stick this at the top of the page.

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

This should now appear in the drop down list for Page Template on Write > Write Page in Wordpress.

This is when it starts to grow the .htaccess file. When you start to add these sort of pages.
__________________
.
Scotty.T is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote