Entries tagged with “category” from Movable Type Documentation

EntryPrimaryCategory

A container tag that lists the primary category to which the entry is assigned. Examples <mt:Entries> <mt:EntryPrimaryCategory><$mt:CategoryLabel$></mt:EntryPrimaryCategory> or <mt:EntryCategories type="primary"><$mt:CategoryLabel$></mt:EntryCategories> </mt:Entries>... Continue Reading  

Movable Type Themes

Each website and blog has its own purpose. There are personal blogs that share stories and photos, business blogs promoting products, store sites with information for potential customers, company PR blogs distributing press releases, and more. Movable Type Themes for... Continue Reading  

CategoryBasename

Produces the dirified basename defined for the category in context. Attributes default A value to use in the event that no category is in context. separator Valid values are dash “-” (default) and underscore “_”. Specifying an underscore will convert... Continue Reading  

EntryLink

Outputs absolute URL pointing to an archive page related to the the current entry in context. When used without the archive_type attribute, a link to the entry permalink (individual) will be output… same as if the <$mt:EntryPermalink$> was used. Link... Continue Reading  

CategoryCommentCount

Returns the number of comments associated to entries within the category in context. Example List of categories with the comment counts: <ul> <mt:Categories> <mt:If tag="CategoryCommentCount"> <li> <a href="<$mt:ArchiveLink type="Category"$>"><$mt:CategoryLabel$></a> (Comments: <$mt:CategoryCommentCount$>) </li> </mt:If> </mt:Categories> </ul>... Continue Reading  

CategoryCustomFieldName

Deprecated: Same as mt:CustomFieldValue. See EntryCustomFields for more info. This will display the value of the current custom field in context.... Continue Reading  

CategoryNext

A container tag which creates a category context of the next category relative to the current entry category or archived category. <mt:CategoryNext> <a href="<MTArchiveLink archive_type="Category">"><MTCategoryLabel></a> </mt:CategoryNext> If the current category has sub-categories, then CategoryNext will generate a link to the... Continue Reading  

CategoryNameNodash

Defines if a dash is placed between the category prefix "cat" and the category id when there is not basename specified for a category. Values Default is 0, use a dash. Use value of 1 to not use a dash.... Continue Reading  

CategoryCustomFieldDescription

Deprecated: Same as mt:CustomFieldDescription. See EntryCustomFields for more info. This will display the description of the current custom field in context.... Continue Reading  

CategoryPrevious

A container tag which creates a category context of the previous category relative to the current entry category or archived category. <mt:CategoryPrevious> <a href="<$mt:ArchiveLink archive_type="Category"$>"><$mt:CategoryLabel$></a> </mt:CategoryPrevious> If the current category has sub-categories, then CategoryPrevious will generate a link to the... Continue Reading  

CategoryCustomFieldValue

Deprecated: Same as mt:CustomFieldValue. See EntryCustomFields for more info. This will display the value of the current custom field in context.... Continue Reading  

CategoryTrackbackCount

The number of published TrackBack pings for the category in context. Use the mt:Pings loop to list the pings for a category. Example Display the count of trackbacks for the category in context and the trackback link: <mt:CategoryIfAllowPings> <!-- do... Continue Reading  

ParentCategories

A block tag that lists all the ancestors of the current category. Output all parent categories and glue using a forward slash: <mt:ParentCategories glue ="/"> <$mt:CategoryLabel$> </mt:ParentCategories> Attributes exclude_current This optional boolean attribute controls the exclusion of the current category... Continue Reading  

Categories

Produces a list of categories defined for the current blog. Categories in this blog: <mt:Categories glue=", "> <a href="<$mt:CategoryArchiveLink$>"><$mt:CategoryLabel$></a> </mt:Categories> This tag produces output for every category with no regard to their hierarchical structure. The results are sorted ascending by... Continue Reading  

CategoryTrackbackLink

The URL that TrackBack pings can be sent to for the category in context. Use the mt:Pings loop to list the pings for a category. Example Display the count of trackbacks for the category in context and the trackback link:... Continue Reading  

SubCatsRecurse

Recursively call the SubCategories or TopLevelCategories container with the subcategories of the category in context. <mt:TopLevelCategories> <$mt:CategoryLabel$> <$mt:SubCatsRecurse$> </mt:TopLevelCategories> This tag, when placed at the end of loop controlled by one of the tags above will cause them to recursively... Continue Reading  

EntryCategory

This tag outputs the label of the main category for the entry. <$mt:EntryCategory$> Must be used in an entry context (entry archive or mt:Entries loop). All entry categories can be listed using mt:EntryCategories loop tag. Examples Create a link to... Continue Reading  

SubCategories

A specialized version of the mt:Categories block tag that respects the hierarchical structure of categories. <mt:SubCategories top="1"> <!-- do something --> </mt:SubCategories> Attributes Use of either top or category attribute is required. category Specifies a specific category by name for... Continue Reading  

EntryIfCategory

Deprecated: This tag has been deprecated in favor of mt:IfCategory. Returns true if the current page or entry belongs to the designated category. Attributes An attribute of label is required. label Label of the Category being conditioned. name Alias... Continue Reading  

ArchiveCategory

Deprecated: Use mt:CategoryLabel Returns the label of the current category.... Continue Reading