Take a look at the primary nav on http://fhnsports.com/. Right now that’s a regular WordPress custom menu, and all the menu items are regular Pages, but I need to recreate it in a different way.
In our new system all those Sports page are custom content type elements, and Editors will NOT have access to edit them. I want to build a menu where everything under the HQ nav item is Pages, automatically added as they come into existence. Then the sports areas are built from my custom content type, existing in the menu based on criteria I determine (does the school have that sport? etc).
It’s almost like I want to combine the results of two wp_nav_menu calls into one menu.
I’ve considered doing exactly that, hardcoding the menu wrapper, and then simply running the two wp_nav_menu calls inside that.
I know WordPress can automatically add pages to a custom menu, but can we have one where it’ll automatically add posts from a custom content type?
Leave a Reply