Video courtesy of Jamie Marsland at PootlePress.
Dynamic Menus allows you to replace WordPress menu’s on a per page/post basis. This gives you more granular control over menu’s and how they are displayed.
Using Dynamic Menus
Settings ↑ Back to top
Dynamic Menus does not have any global options, or a settings screen of it’s own. Simply activating the component from the main WooDojo screen will enable the Dynamic Menus functionality.
Replace a Menu ↑ Back to top
Create the Menu ↑ Back to top
To replace a menu for a specific page or post, you must first create the menu using the Appearance Menus Screen. These menus do not need to be placed in any of the theme locations provided.
Select a Menu to Replace ↑ Back to top
Once a menu has been created, on the edit screen for the page or post you want to enable a custom menu on there will be a meta box to the right that will give menu options for each default theme location. Choose a custom menu to replace the default, and leave any menus you would like to keep the default on untouched.
Adding Support for Custom Post Types ↑ Back to top
Once activated this functionality is added for the Page and Post post types. You can easily add support to any custom post type by using the native WordPress add_post_type_support function.
add_post_type_support( 'post', 'woodojo-dynamic-menus' );