[wp-hackers] wp_nav_menu too simplistic?

Otto otto at ottodestruct.com
Tue Apr 6 15:42:49 UTC 2010


Anybody figured out how to use the new menus system to create a
dropdown menu? Generally I use this code in my top menus:

wp_list_pages('title_li=&depth=2&sort_column=menu_order');

Which creates a nested LI-UL-LI type of system out of top-level pages
and their children. With this, I can then easily use CSS hovers to
make it into a dropdown menu. You can do something similar with
wp_list_categories.

But the new menu system doesn't seem to have any way to do this sort
of thing. Or, at least, I haven't figured out a way yet. I thought it
was going to be more like widgets instead, where you have different
types of things you can drag onto a menu.

Basically, the new menus system just looks way too simplistic to me .
If the new menu system isn't as capable as the standard ways of doing
things, then why would a theme author ever implement it?

-Otto


More information about the wp-hackers mailing list