Best WordPress ratings plugin

yasr_multi_set_ranking

Pro version of this shortcode is available!!

Description

Shows the Top 10 Highest Rated by Multi Set chart, see pro version of the wordpress ratings plugin.


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
end_date
(optional) End Date Accepted values: date in format YYYY-MM-DD
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_multi_set_ranking]

will show a 10 rows chart

[yasr_multi_set_ranking setid=1 rows=5 minvotesmost=4 minvoteshg=8 start_date=2021-03-09 end_date=2021-09-24]

will show a 5 rows chart, with large stars set, 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.The oldest post is dated 2021-03-09 and last post is dated 2021-09-24

Updated on June 18, 2024
Scroll to Top

BLACK FRIDAY SALE:
25% off for new customers

CHECKOUT CODE: FSBFCM2023​