Change HTML structure for custom menu in sidebar
Working with raw data is always a bit dirty. The clean approach to do that would probably be to implement an own widget, that does exactly what you want it to do. You can learn more about using the Widget API here: http://codex.wordpress.org/Widgets_API There are also some great examples there. Not that hard to understand. … Read more