I have a
wp_nav_menu to which I want to add a classes to the list items.
I know this can be done by choosing 'css classes' from the screen options menu, but then I have to give every single
li a class.
I have a 2 depth menu. (for example)
- All the normal li's I want to give the class lidepth1
- All the sub menu li's I want to give the class lidept2
Is this possible in the
I searched the codex but I only found "link before" and "link after" but I don't think that is what I need.