Not a developer? Go to MovableType.com

Documentation

WebsiteEntryCount

Used to display the number of published website entries. This does not include child blog entries by default.

Modifiers

All modifiers are optional.

MultiBlog modifiers

include_with_website

If set to 1, counts the parent website’s entries in addition to any child blogs being counted due to MultiBlog modifiers.

singular

Sets text to output when there is exactly one entry.

plural

Sets text to output when there is more than one entry. If # is included in the text, it will be automatically replaced with the number of entries.

none

Sets text to output when there are no entries.

Examples

<$mt:WebsiteEntryCount$>

Display number of blog entries from blogs related to the parent website:

<$mt:WebsiteEntryCount include_blogs="children"$>

Display number of entries from both the parent website and related blogs:

<$mt:WebsiteEntryCount include_blogs="children" include_with_website="1"$>
Back

Leave a Comment