Shows the average of a readonly MultiSet for a post or page, using this wordpress ratings plugin.
Parameters
- setid
- (optional but recommended) The set ID. Optional if setid=1, required otherwise.
- default: 1
- 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
Examples
[yasr_pro_average_multiset setid=2]
will show the average of Multi Set with setid=2, for the current post or page
[yasr_pro_average_multiset setid=2 postid=2548 size=medium]
will show the average of Multi Set with setid=2, for the post or page with ID 2584, medium star size