Hierarchical list of categories, php snippet needed
I want to list all the sub-cats and sub-sub-cats on a top-level taxonomy-category page in the following fashion:
Code:
<ul>
<li>
<h3>Sub-Cat 1</h3>
<ul>
<li>Sub-sub-cat</li>
<li>etc..</li>
</ul>
</li>
<li>
<h3>Sub-Cat 2</h3>
<ul>
<li>Sub-sub-cat</li>
<li>etc..</li>
</ul>
</li>
</ul>
Ideally, the list nesting continues until there are no more sub-categories to list. I would like ability to adjust parameter control of depth level.
Deadline: ASAP, latest by Nov 30.