Monthly Archives: September 2013

Adding a class to WordPress sub menus

Sometimes it’s a nice visual cue to differentiate Wordpress menu items with children from those without. This function below will add the class has-sub-menu to every Wordpress menu item with a submenu, and allow you to style it as you see fit!