[wp-hackers] using different templates for pages

C. Rummel rummel at gmail.com
Tue Oct 26 19:15:14 UTC 2004


On Tue, 26 Oct 2004 20:05:27 +0100, Podz <podz at tamba2.org.uk> wrote:
> I've hit trouble with this too - what is actually in your 'page.php' ?
> Is it a complete page, or are you relying on wp to add say footer /
> sidebar ?

I just copied index.php and strippped it off the comments/trackback-stuff.

Have a look at http://bronski.net/ - the links at the top of the sidebar are 
"pages".

I just found out that the Kubrick-theme has a whole lot of templates as 
they are mentioned in wp-blog-header.php, like page, single, archive, 
category etc., so I guess I could put my page.php into a theme-directory, 
too. I'll try that later tonight.

> > But at the bottom of wp-admin/edit-pages.php there is the option to
> > use different templates. How do I add different templates? Other files
> > from wp-content like author.php do not show up in that dropdown menu.
> 
> I'd like to know this too.

Well, thats the downside of using the nightlies... ;-)

Chris



More information about the hackers mailing list