sub-menu to any <li> element in a menu that contains child elements, thus removing the need for manual input. Update: The codex also features an example of a custom walker which does not use regex to inject an extra class into parents, note that the example provided there requires PHP 5.3.0 or higher]]>
Leave a Reply