Show children (sub-navigation) of active menu item only
Ok based on what I think you want from your description, you can accomplish this via CSS. You don’t need to create a custom walker for this unless you have other reasons to do so. If you look carefully, when a menu item is active it will apply the following CSS to the “li” element … Read more