[wp-hackers] Why Can't Pages have Categories?

Christopher J. Hradil chradil at comcast.net
Fri Jul 21 14:06:59 GMT 2006


the way/place to attack this depending on what you are trying to accomplish
specifically is either 
a) in your theme
b) with a plugin

if you're trying to achieve a "navigation hierarchy" - that's already pretty
straightforward using pages/parent pages. So, for example the easy way -- 
I'd change one of my menu's to read something like "SITE PAGES" - then
create a parent page for each "category" - then child pages beneath each.
that would be the "simple" way to accomplish the navigation/organization. 

if you needed your pages to be "tagged" with the same "category" tags as
posts, then it's time to take a look at the plugins that are out there
already, and if one won't do exactly what you need it to, then either hack
it or write a new one. 

if you were trying to do something like use different "themes" or .css files
for pages than posts, etc. there are plugins to help with that as well, but
I've also found that a couple of simple lines of php in your theme's
header.php file can be just as effective (like, if == page !post then use
x.css, etc). 

...chris 


/**************************************
Christopher J. Hradil
chradil at comcast.net
http://www.hradil.us
973-809-4606
**************************************/


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Computer Guru
Sent: Friday, July 21, 2006 3:44 AM
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Why Can't Pages have Categories?

How come posts can have categories, but not pages?

 

What if each category had a page that describes how to use it and what it's
for?

 

Computer Guru

NeoSmart Technologies <http://neosmart.net/> 

http://neosmart.net/blog/

 

_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list