Plugin Author
dudo
(@dudo)
Hello, thank you for using YASR!
I would like to know if there is the possibility of having a half star rating system (1.5 / 2 / 2.5 / 3 … etc)
If you mean in the yasr_visitor_votes shortcode, no, this is not possible, users can only rate an integer.
Best,
Dario
I suspected it
Isn’t there something to do from the one used in the metabox (post edit)? This one works with half notes
Plugin Author
dudo
(@dudo)
That one is printed by yasr_overall_rating shortcode, and is the vote that an author give for a post or page.
Instead, yasr_visitor_votes is the rating given by your visitors, and it is intended to work just like the most commons service out there (google, facebook, amazon, etc.) where the rating is possible only from 1 to 5 with no decimals ratings.
Best,
Dario
Ok, I get it, setting a half-score vote would require converting the results to be google and other compatible.
And to have a rating out of 10 instead of 5, would that be complex?
Plugin Author
dudo
(@dudo)
Ok, I get it, setting a half-score vote would require converting the results to be google and other compatible.
This is not the reason, google will index the average from the ratings. If, for example, a post get rated twice, one time with 4 and one with 3, YASR will show 3.5 and google will index 3.5.
Like I said, most commons service out there use five stars ratings where users can only rate integers, and YASR just follows this design (that’s why it is also not possibile to rate with 10 stars)
Best,
Dario