Not a developer? Go to MovableType.com

Documentation

count_characters

Returns a number corresponding to the number of words and spaces in the string the tag would normally output.

If Blog Name is “My Awesome Blog” then this tag would output the number “15”

<mt:BlogName count_characters="1">

Examples

Ouput an ellipses if the excerpt is longer than the trimmed excerpt.

<mt:EntryExcerpt trim_to="320">
<mt:EntryExcerpt count_characters="1" setvar="excerpt-count">
<mt:Unless name="excerpt-count" lt="320">...</mt:Unless>
<a href="<mt:EntryPermalink>">Read the full article ยป</a>
Back