Not a developer? Go to MovableType.com

Documentation

BlogEntryCount

Returns the number of published entries associated with the blog currently in context.

Attributes

MultiBlog Attributes

This template tag supports the multiblog template tags.

Count Attributes

singular

Allows special formatting for when the number of published objects is equal to 1.

<mt:BlogEntryCount singular="1 entry">

plural

Allows special formatting for when the number of published objects is greater than 1. # is automatically replaced with the number of objects.

<mt:BlogEntryCount plural="# entries">

none

Allows special formatting for when the number of published objects is 0 (zero).

<mt:BlogEntryCount none="No entries">

or

<mt:BlogEntryCount none="None">

Example

This returns

"1 entry" or "9 entries" or "No entry".
Back