difference between page types and page templates?
I come from a 5.6 background and i am struggling to understand how page templates are different from page types and why we need the two?
From what i have read.. page types sound the same as page templates. e.g if i add a page template it will map to a file in my theme. thats the same as a page type?
What new functionality does page templates bring that just page types did not have in 5.6?
Then i will understand :)
Here is an additional explanation.
A Page Template is anything with a hard-coded php file in your theme folder (otherwise default.php is used) and a Page Type is a system-based template that can be created by using your hard-coded Page Templates to work from.
For example, I built 2 Page Types for a site recently that both ran off the same Page Template - allowing me to make differences in the page layout & attributes without having to have a separate hard-coded Page Template in my theme folder. Quite slick, really.
It looks as though this separation is meant as a way to cut down on having hard-coded Page Templates in your theme, which I for one welcome. Hope this helps.