1. Home
  2. Docs
  3. Shortcodes
  4. Pro Only Shortcodes
  5. yasr_pro_average_multiset

yasr_pro_average_multiset

Description

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


See Also

How to insert rating in a read only Multi Set

How to create a Multi Set 

How to manage a Multi Set