I am working on a theme where I would like to allow users to specify additional options for nav menu items.
Out of the box, Users can just specify css classes that are applied to LI elements in a nav menu. However, I want to allow to specify css classes for links too.
I have looked at different options. I could use the options framework or I could use the customizer API without any plugin dependency. My problem with both of those approaches is that I am required to introduce a new customization menu section that deals with menus. I dont want to do that, because there already is the menu customizer in the backend. All I want to do is to add one more option for link css classes.
So far I have not found a way to hook into wordpress' own customizer without the risk of breaking when WP gets upgdated.
Can anybody point me into the right direction how I could approach this problem?
thanks.