yasr_pro_average_comments_ratings

Shows an average rating from the reviews in your posts or pages, using our rating plugin for wp.


Parameters

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_comments_ratings]

will show the average rating with large stars set (default) for the current post or page

[yasr_pro_average_comments_ratings size=medium postid=2548]

will show the average rating with medium stars set for the post ID 2548


Settings

In the settings page, it is possible to customize the text to show after the stars.

Updated on July 4, 2024
Scroll to Top

BLACK FRIDAY SALE:
25% off for new customers

CHECKOUT CODE: FSBFCM2023​