CODE
<h3>BUSINESS</h3>
<ul>
<li>Finance</li>
<li>Small Business
<li>Seminars
</ul>
<h3>NEWS</h3>
<ul>
<li>Press Releases</li>
<li>New Hires</li>
</ul>
<ul>
<li>Finance</li>
<li>Small Business
<li>Seminars
</ul>
<h3>NEWS</h3>
<ul>
<li>Press Releases</li>
<li>New Hires</li>
</ul>
By default the Category Listing (nested) widget almost works. But I only want to show the Category Label for Parent Categories and style them with h3 tags while styling the Sub-Categories as unordered lists. I hope that makes sense.
I tried mucking around with the existing widget code but I'm not doing something right. This is what I have so far. Only the Parent Categories show with it.
CODE
<MTIfArchiveTypeEnabled archive_type="Category">
<MTTopLevelCategories>
<mt:HasNoParentCategory>
<h3><MTCategoryLabel></h3>
</mt:HasNoParentCategory>
<mt:HasParentCategory>
<MTSubCatIsFirst><ul></MTSubCatIsFirst>
<li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a>
</mt:HasParentCategory>
<MTSubCatIsLast></ul></MTSubCatIsLast>
</mt:HasNoParentCategory>
</MTTopLevelCategories>
</MTIfArchiveTypeEnabled>
<MTTopLevelCategories>
<mt:HasNoParentCategory>
<h3><MTCategoryLabel></h3>
</mt:HasNoParentCategory>
<mt:HasParentCategory>
<MTSubCatIsFirst><ul></MTSubCatIsFirst>
<li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a>
</mt:HasParentCategory>
<MTSubCatIsLast></ul></MTSubCatIsLast>
</mt:HasNoParentCategory>
</MTTopLevelCategories>
</MTIfArchiveTypeEnabled>
I'm sure someone is doing something similar. But I can't find any examples.
