1. Home
  2. Docs
  3. Shortcodes
  4. YASR Pro
  5. yasr_pro_average_visitor_multiset

yasr_pro_average_visitor_multiset

Description

Shows the average of a visitor MultiSet for a post or page.


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_visitor_multiset setid="2"]
will show the average of Multi Set with setid=2, for the current post or page
[yasr_pro_average_visitor_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