1. Home
  2. Docs
  3. Shortcodes
  4. YASR Free
  5. yasr_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_multiset

Description

Shows a readonly 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

[yasr_multiset setid="2"]
will show the Multi Set with setid=2, for the current post or page, average row is displayed
[yasr_multiset setid="2" postid="2548" show_average="no"]
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 read only Multi Set
How to create a Multi Set
How to manage a Multi Set