elfs: (Default)
[personal profile] elfs
Oh, 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.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

elfs: (Default)
Elf Sternberg

December 2025

S M T W T F S
 12345 6
78910111213
14151617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 05:57 am
Powered by Dreamwidth Studios