Not a developer? Go to MovableType.com

Documentation

BlogPingCount

Returns a count of published TrackBack pings 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:BlogPingCount 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:BlogPingCount plural="# entries">

none

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

<mt:BlogPingCount none="No entries">

or

<mt:BlogPingCount none="None">

Example

<mt:BlogTrackbackCount singular="1 trackback" plural="# trackbacks" none="No trackbacks">

This returns

"1 trackback" or "9 trackbacks" or "No trackbacks".
Back

Leave a Comment