RegisterNavigation

GitHub

This is where we register navigation menus. For now, it's fairly simple, and we're just calling the default wp_nav_menu and register_nav_menu here.

To insert the default primary navigation on the page, add the following to your template:

<?php (new WPDD\ThemeSetup\RegisterNavigation())->wpddPrimaryNav(); ?>