Not a developer? Go to MovableType.com

Documentation

AssetCount

Returns the number of assets associated with the active blog.

It may be important for your use to note that both parent and child assets (such as thumbnail images) are included in this count.

Attributes

  • type: Allows for filtering by file type. Built-in types supported are “image”, “audio”, “video”. These types can be extended by plugins.

  • Count tag modifiers: singular, plural, and none can be used to format different number values.

Example

Images available: <mt:AssetCount type="image" singular="1 image" plural="# images" none="no images">
Back

Leave a Comment