<$mt:BlogEntryCount$>

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

This template tag supports the multiblog template tags.

Example ΒΆ

<$mt:BlogEntryCount singular="1 entry" plural="# entries" none="No entry"$>

This returns

"1 entry" or "9 entries" or "No entry".
This page was last updated on 2011-05-23, 08:38.

1 Note

There are a couple of undocumented attributes for this tag.

They are:

singular="1 entry" plural="# entries" none="No entries"

To incorporate this you would use:

<$mt:BlogEntryCount singular="1 entry" plural="# entries" none="No entries"$>

The above would return:

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

You could customize the words "entry", "entries" and "No entries" from the above attributes.

Enjoy ;)

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.