[wp-hackers] Page Templates vs Category Templates

Haluk Karamete halukkaramete at gmail.com
Wed Dec 1 23:06:29 UTC 2010


When you create a Page, you may choose a Page template, right out of
the box installation of a WordPress. All you need is a few Page
Templates to exist in the theme folder.

Example:

	SideBar SideBar Content
	
	Content SideBar
	
	Content SideBar SideBar
	
	etc...
	
But when you create a category on the admin page, you do not have that
functionality. That always confused me. Why the lack of that
functionality from the cat's side?

It is very natural to think that you may have one category to have a
different look and feel than another one, video stuff for example...
Of course, one can have the functionality of using a different cat.
template using the  category-Whatever.php trick. But then, when you
think about it, "that very way" is also very possible for the pages,
thanks to the  as Page_Whatever.php trick. But yet, Pages Admin area
do have the capabilities to select a page template thru a drop down
conveniently while Category Admin area do not.

I'm curious to find the design  criteria behind that difference...


More information about the wp-hackers mailing list