<mt: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 of label

Example

<mt:EntryIfCategory label="News">
  <!- do something ->
<mt:else>
  <!- do something else ->
</mt:EntryIfCategory>
This page was last updated on 2012-06-11, 01:11.