Customizing Tree-Like Data Structures In WordPress With The Walker Class

In WordPress, a navigation menu, a list of categories or pages, and a list of comments all share one common characteristic: They are the visual representation of tree-like data structures. This means that a relationship of superordination and subordination exists among the elements of each data tree.

Read more on Smashing Magazine