First thanks to Chris for the great series of WordPress screencasts recently – a big inspiration to us all.
My question is how to approach coding different page layouts across a WordPress site. I can see from the themes three types of pages: index, page and single, but what if you want something that doesn’t fall into one of those types.
An example of what I am talking about is http://www.woothemes.com/demo/proudfolio/. What I think I am seeing is the home page, portfolio and about pages are all unique and then there is the blog. I don’t see how these differing layouts map to just the three types of index, page and single. Presumably they don’t, so …
My next question is how do you integrate an additional page layout into a WordPress theme (additional to index, page and single). I can envisage coding the new page in php but where in WordPress do you say I want to use this new php page for a particular WordPress page?
Tob, this is making sense now. Thanks for taking the time and trouble to answer this fully – its really appreciated and given me heaps to play with now.
Pab, yeah I was going down the includes route but was having difficulty figuring out how to detect the page type. I basically missed the point that you can have different templates which you link at page definition time. Doh!