Disable interactivity for core navigation
After a lot of reading, debugging and testing I did not manage it to modify the default core/navigation block as I wanted. The interactivity API still keeps getting in the way. So my solution was to enable the classic menu and make it a custom dynamic block: My theme’s functions.php: function my_theme_register_menus() { register_nav_menus( array( … Read more