yasr_pro_average_multiset

Shows the average of a readonly MultiSet for a post or page, using this wordpress ratings plugin.


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_multiset setid=2]

will show the average of Multi Set with setid=2, for the current post or page

[yasr_pro_average_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

Updated on June 18, 2024
Scroll to Top

BLACK FRIDAY SALE:
25% off for new customers

CHECKOUT CODE: FSBFCM2023​