Average Ratings
The Average Ratings tool displays the page's average rating out of 5 stars along with the number of votes in the page.
<div class="viafoura">
<div class="vf-rating-widget vf-widget" data-widget="rating-avg"></div>
</div>
Rendered Example

Installation Parameters: Average Ratings
Name | Type | Description | Default | Notes |
---|---|---|---|---|
data-path | string | The path of the page for which to fetch the rating. | Current Page | e.g. /path/to/article.html |
data-url | string | The fully-qualified url of the page for which to fetch the rating. | e.g. https://foo.com/path/to/article.html |
Updated over 5 years ago