Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
187 views
in Q2A Core by
Looking at qa-theme-base.php I find the recursive menu NAV functions quite hard to follow through, although I have the gist of them.

Is there any way to get an array of the menu items and ALL the sub menus? The content['navigation']['sub'] array only seems to fill the sub array with the items for the currently selected main menu item. The current nav_main_sub function also puts the subitem UL outside of the current LI making integration with UI frameworks very difficult.

What I would like is access to the entire menu array within qa-theme.php so that I can output my own UL/LI structure with nested UL's like most other menu walkers (e.g. Wordpress)

Either that or please point me in the direction of the table that holds the saved menu items and I will then write my own plugin.

Thanks in advance
Q2A version: 1.6.3

Please log in or register to answer this question.

...