Hello,
what's the best way to get the categories and sub-categories (in their hierarchy) into the TwentyTen menu?
I know, since WordPress 3.0 you can build your own menus, but if you have 200+ categories (please don't ask ;-)) it's not your first choice.
Do I need to use wp_list_categories() and style it from scratch to match the TwentyTen style or is there a simpler way?
Kind regards
Hugo
Don't edit the Twenty Ten theme. Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.
Thanks for the hint, but what about the actual question?
You'd need to build a custom callback for wp_nav_menu.
Assuming that the menu should only represent the category hierarchy, how exactly has the custom callback to look like?
Download a copy of the ZenLite theme and see how the category callback has been created in that theme.
Can't see wp_nav_menu() there.
Try looking in sidebar.php
Well, it seems to be more complicated than I hoped. :-(