WEB170 » 06) Create Your Main & Sub Menu Systems
Now that you have started a theme of your very own with some basic functionality… It is time to take it further by implementing your main and sub navigation menu systems.
- Register your navigational menus using the register_nav_menus() function.
- Create your Main Menu system for your pages using the the wp_nav_menu() function and style it how you see fit.
- Create your Sub Menu system in your sidebar (or where ever) using the wp_list_pages() function to get the destination (child) pages for each gateway (parent) page and using the wp_list_categories() function to display blog categories using some conditional tags like the is_page() function.
- I will check your Protosite’s “View” and “Code” links from your Client Staging Area according to the class Schedule (Spring) to review and grade.