Description
Shows the Visitor Votes for a post or page.
Parameters
- size
- (optional) Size of the stars.
Accepted values: "small", "medium", "large". - default: large
- postid
- (optional) The post ID
- default: the post ID of the current post or page
- readonly
- (optional) Set if the stars set should be clickable or not. Useful if you want to show an average rating from another post or page, or in a different part of the template.
Accepted value: "yes". - default: false
Examples
- [yasr_visitor_votes]
- will show the Visitor Votes with large stars set (default) for the current post or page
- [yasr_visitor_votes size="medium" postid="9268" readonly="yes"]
- will show the Visitor Votes with medium stars set for the postid 9268, not clickable