Skip to main content

Timeline for Theme expanded menu item?

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Nov 16, 2016 at 7:52 comment added StreetCoder it's awesome ...
Mar 10, 2015 at 11:29 vote accept caustic
Mar 10, 2015 at 10:55 comment added bloke_zero Yes, the problem is that if you just provide your own theme function then you're theming a menu which by default doesn't have all the submenu items expanded, just the one for the active path. You can either tick all the menu items as expanded in the admin settings or you can do something like have detailed above using menu_tree_all_data('main-menu') and menu_tree_output($main_menu_tree). You can then pass that to your theme function.
Mar 9, 2015 at 15:54 comment added caustic Thanks bloke_zero. Is there any way I can integrate that dropdown-toggle section of code in my own code? (see my first post)
Mar 9, 2015 at 12:10 history answered bloke_zero CC BY-SA 3.0