Moveable Type Parent Category Display

I want to share this in the hopes that someone else who searches for an answer to the question I had earlier today might save some time. It’s very simple but the answer isn’t easy to find in the all too sparse Moveable Type documentation.
I wanted MT to return the name of the parent category when in a sub-category. So if we were in the “red” it would return the parent value “color”.
Here is what worked for me in a category template:

<MTTopLevelParent&gt<MTCategoryLabel&gt</MTTopLevelParent&gt

It took trial and error which is fun but always a time waster.


1 comment Write a comment

Leave a Reply