Navigation Menu is a theme feature introduced with Version 3.0. WordPress includes an easy to use mechanism for introducing customised navigation menus into a theme. In order to incorporate menu support into your theme, you need to add a few code segments to your theme files.

learn more… | top users | synonyms (4)

3
votes
3answers
178 views
+100

Convert output of nav_menu items into a tree-like multidimensional array

Is there any way to grab the nav menu items as a multidimensional array instead of a flat array? By a tree-like structure I mean something that would preserve relationship between child and parent ...