Hello π Could You add to all wp_nav_menu a walker? I need this to do something really cool but I don’t want to change GeneratePress PHP files in each new version.
I can’t add a walker to the nav by default – but when this new version is released remind me to give you a chunk of code that will replace the current menu with a menu that accepts a walker.
I should be submitting the newest version tonight.
You should only end up with one add_action and one remove_action, which you should match with the navigation position setting you have set in the Customizer.
You can change the name of the Walker to whatever you name your walker.