
WordPress: Adding Custom Classes to wp_nav_menu
The Issue
In WordPress, there is a handy function that displays custom menus that are setup in Appearance > Menus, that function is wp_nav_menu();
. If you are setting up your menus this way (and you should be) I’m sure you are familiar with some of the limitations of what is output on the page. From a design standpoint, these menus can be rather difficult to work with.