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.

<$MTEntryExcerpt 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>
This page was last updated on 2012-12-20, 19:33.