First, tell MT you want to archive your entries according to category.
Weblog Config -> Archiving -> Check "Category"
Then, add a bit of code into the template.
Remember to back up the existing template (copy the text to another file) before you monkey with it too much.
Change Tempate
Templates -> Main Index
Look for the following line of code:
</MTEntryIfAllowPings>
It's about 1/4 of the way down. Hit CTRL-F to search for /MTEntryIfAllowPings
After it, insert the following:
<br>(Filed under <a name="<$MTEntryID pad="1"$>"></a>
<MTEntryCategories glue=", ">
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a>
</MTEntryCategories>)
I can't get the spacing to replicate itself accurately, but that region of code should read...
</MTEntryIfAllowPings>
<br>(Filed under <a name="<$MTEntryID pad="1"$>"></a>
<MTEntryCategories glue=", ">
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a>
</MTEntryCategories>)
</div>
</div>
</MTEntries>
Leave a comment