1. Home
  2. Docs
  3. Shortcodes
  4. YASR Free
  5. yasr_visitor_multiset
Remember: You don't need to keep in mind all the shortcodes. You can use the shortcode creator if you're using the Classic Editor, or just add a block if you're using Gutenberg.

yasr_visitor_multiset

Description

Shows a visitor Multi Set for a post or page.


Parameters

setid
(optional but recommended) The set ID. Optional if setid=1, required otherwise.
default: 1
postid
(optional) The post ID
default: the post id of the current post or page
show_average
(optional) Shows the row with the average rating of the Multi Set.
Accepted value “no”.
default: yes

Examples

Story
3
Gameplay
1
Graphics
1
Sound
1
Average
 yasr-loader
will show the Multi Set with setid=2, for the current post or page, average row is displayed
Story
2
Gameplay
2
Graphics
2
Sound
3
Average
 yasr-loader
will show the Multi Set with setid=2, for the post or page with ID 2584, average row is not displayed

See Also

How to insert rating in a Multi Set
How to create a Multi Set
How to manage a Multi Set