Not a developer? Go to MovableType.com

Documentation

CommentScoreAvg

A function tag that provides the avarage score of the comment in context. Scores grouped by namespace of a plugin are summed to calculate total score of a comment, and average is calculated by dividing the total score by the number of scorings or 'votes'.

Attributes:

  • namespace (required)

    Specify namespace for avarage score to be calculated. Namespace is defined by each plugin which leverages rating API.

Example:

    <$mt:CommentScoreAvg namespace="FiveStarRating"$>
Back

Leave a Comment