Help - Search - Members - Calendar
Full Version: Displaying multiple categories: How?
Movable Type Community Forum > Additional Resources > Tips and Tricks
Karl Bedingfield
Hey there

I am using this code:

CODE
<a href="<MTEntryLink archive_type="Category">"><MTEntryCategory></a>


to display my category and I wondered what changes I need to make to let it display multiple categories for a particular post.

Thanks
Karl
kadyellebee
Here ya go...
CODE
<MTEntryCategories glue=", ">
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a>
</MTEntryCategories>


The glue value is what will appear between each of the links. smile.gif

Kristine
drew
know of a way to display only the multiple category choices and not the initial one?

i'm using letters as the main category so that i can display archives in alpha listings but don't want the letter to also show when i list the other categories the entry is associated with.
TweezerMan
You might take a look at the Supplemetal Category Tags plugin and its MTEntryAdditionalCategories tag.
drew
that is sooo perfect. thanks for the tip!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.