Hey, look, my last client has gone live!
May. 21st, 2009 02:37 pmOh, but there is good news. That little side job? They've gone live. See that menu on the left? That's what I did for them. This is a marketing site they have for their co-op. The old menu looked nothing like the one on their main website. Their main website was done in Dreamweaver. The co-op is in Wordpress. My job was two-fold: port the menu on the main site's "look and feel" to the co-op pages. That was easy. The co-op's menu, however, is a list of Wordpress categories, and (here was the doozy) they wanted the menu to show Wordpress Pages associated with a category, and they wanted that menu item highlighted when you were on that page.
Wordpress knows not of what you speak. Pages aren't categorized; that's for Posts.
But it was possible, with a bit of a SQL magic and a dig deep inside the Wordpress "Category Walker" class. And now I am much smarter about how Wordpress works internally.
Wordpress knows not of what you speak. Pages aren't categorized; that's for Posts.
But it was possible, with a bit of a SQL magic and a dig deep inside the Wordpress "Category Walker" class. And now I am much smarter about how Wordpress works internally.
no subject
Date: 2009-05-21 11:34 pm (UTC)no subject
Date: 2009-05-21 11:37 pm (UTC)no subject
Date: 2009-05-22 06:10 am (UTC)no subject
Date: 2009-05-22 03:36 pm (UTC)no subject
Date: 2009-05-23 07:35 am (UTC)no subject
Date: 2009-05-24 06:50 pm (UTC)no subject
Date: 2009-05-25 12:42 pm (UTC)no subject
Date: 2009-05-22 12:47 pm (UTC)no subject
Date: 2009-05-22 03:06 pm (UTC)Although a theme base(a theme designed to be customized via CSS) that includes the basic concept: the category menu includes "Pages that discuss this category" as subitems, and does not use the category heirarchy, might be a worthwhile development project.
In my copious spare time.
Ha! We used to joke about that at Isilon. There was always too much to do. IMCST was a common acronym. It used to mean "When we're rich and can retire / when the company goes belly up and we're out on the streets." Well, I've been RIF'd and, you know what, I still don't have copious spare time.