Display page list when no menu is assigned Use this function to automatically add wp_list_pages to an empty menu location. You only need...
Walker for wp_nav_menu showing descriptions The class Description_Walker extends Walker_Nav_Menu and changes the function start_el to look for $item->description.
Highlight menu item of wp_nav_menu on CPT The code below finds the menu item with the class "-menu-item" and adds another “current_page_parent”...