Fixing wp_list_pages and wp_nav_menu highlighting plus breadcrumbs on Dynamic Pod Pages
Recently I took it upon myself to begin fixing what wp_list_pages and wp_nav_menu sometimes messes up — highlighting what menu/page item you’re on. The resulting code is used on the new Pods site, and it’s really only basic (wp_list_pages is basic in itself, while wp_nav_menu I’m only focusing on the ‘menu-‘ classes. It covers whenever …