How do I generate a custom menu/sub-menu system using wp_get_nav_menu_items in WordPress?
For anyone who tackles something similar here’s my solution: Quick code example on a gist Here’s the code on a github gist for anyone who wants to get in on the copy paste action. TL;DR TL;DR Loop over list, drill down if there’s a sub menu, close if we reach the end of the sub … Read more