1. Home
  2. Docs
  3. Shortcodes
  4. YASR
  5. Rankings
  6. yasr_visitor_multi_set_ranking

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.

Pro version of this shortcode is available!! 😍

Description

Shows the Users' ranking by Visitor Multi Set chart.



Parameters

setid

The setId. Accepted values: a number between 1 and 99

Parameters (Pro version only)

rows

(optional) rows number to display. Accepted values: a number between 2 and 30
default: 10
size

(optional) Size of the stars. Accepted values: "small", "medium", "large".
default: medium
view

(optional) default view. Accepted values: "most", "highest".
default: most
minvotesmost

(optional) the number of minimum votes required to appear in the ranking for the "most rated" view. Accepted values: a number between 1 and 99
default: 1
minvoteshg

(optional) the number of minimum votes required to appear in the ranking for the "highest rated" view. Accepted values: a number between 1 and 99
default: 1
start_date

(optional) Start date. Accepted values: date in format YYYY-MM-DD

default: disabled, will shows all posts

end_date

(optional) End Date Accepted values: date in format YYYY-MM-DD

default: disabled, will shows all posts

category

(optional) get posts from one or more selected categories Accepted values: category number, comma separated
default: disabled
custom_post

(optional) get posts from one custom post type Accepted values: cpt name
default: disabled



Examples

[yasr_visitor_multi_set_ranking setid=1]    will show a 10 rows chart


[yasr_visitor_multi_set_ranking setid=1 rows=4 view=highest start_date=2018-02-03 end_date=2022-02-17 minvotesmost=4 minvoteshg=8 category=191,6,73]    will show a 4 rows chart, default view is the highest rated posts, posts are get from categories 191, 6 and 73. In order to appear in the highest rated view, posts must have at least 8 votes; 4 are need to appear in the most rated one.

BLACK FRIDAY | 35% OFF ON ALL YASR PLANS | CODE: BLACKFRIDAY2022