This documentation site is about the unstable (upcoming) Comentario version.  Switch to the stable version »

Attribute: path

The path attribute of the <comentario-count> tag specifies the page to display comment count for

The path attribute of the count tag can be used to specify a different page to display the number of comments for.

When path is omitted, the count widget will display the number of comments on the current page. To display a number for a different page, you need to specify the path of that page in this attribute. The path must start with a / and correspond to the actual page path within a domain.

See the page-id comment tag attribute for more details.

Example

<p>This page has <comentario-count></comentario-count> comment(s).</p>
<p>But our home page has <comentario-count path="/"></comentario-count> comment(s).</p>

See also