Call (877) SITE-OPT (748-3678)

Subcategory Display in Movable Type

From Chapter 1: Natural Search Engine Optimization

<div class="module-categories module">
    <h2 class="module-header">By Category</h2>
    <div class="module-content">
        <MTTopLevelCategories>
            <MTSubCatIsFirst><ul class="module-list"></MTSubCatIsFirst>
                <MTIfNonZero tag="CategoryCount">
                    <li class="module-list-item"><a href="<$MTBlogURI$>
<MTParentCategories glue="/"><$MTCategoryLabel dirify="-"$></MTParentCategories>" 
title="<$MTCategoryDescription$>"><$MTCategoryLabel$></a> (<CategoryCount>)
                <MTElse>
                    <li class="module-list-item"><$MTCategoryLabel$>
                </MTElse>
                </MTIfNonZero>
                <$MTSubCatsRecurse$>
                    </li>
            <MTSubCatIsLast></ul></MTSubCatIsLast>
        </MTTopLevelCategories>
    </div>
</div>
Copyright © 2002-2017 Website Optimization, LLC. All Rights Reserved - Free website speed test - Privacy Policy
Last modified: February 19, 2009.

Follow us on: Twitter, Google+, Facebook, Linked In