Skip Navigation

[Resolved] Implement star rating for posts, Get average rating and add filter for ratings

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by marcB-6 7 years ago.

Assisted by: Minesh.

Author
Posts
#594963
Screenshot_3.png
Screenshot_4.png

I would like to implement star rating for my custom posts.
guests will give rating for eg. resturant.
Based on given rating to a particular post I would like to display its average using stars & I would like to implement filter for star rating.

Post page : hidden link
from above link visitors can give rating.

Please check attached screenshot for better understanding.

#595029

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no such feature exists. To implement such feature it will require some custom programming and I'm afraid that this is beyond the scope of our support policy.

If you need custom programming with your project, please feel free to contact our certified partners:
=> https://toolset.com/consultant/

However - I've nice tutorial kind of ticket that I would like to share with you that will help you to implement star rating with your project. Please go through the following tickets where user shared step by step information how you can implement star rating.
=> https://toolset.com/forums/topic/searching-book-review-child-cpt-and-book-parent-cpt-by-star-ratings/#post-406125
=> https://toolset.com/forums/topic/save-child-review-rating-avg-to-parent-book-radio-field-to-allow-searching/

#595046

Thanks for the articles.
I have a question...I have installed this plugin : https://wordpress.org/plugins/wp-postratings/
I see it is working fine but the problem is with filters.
So, If i create one custom field and I save value of average rating in that field, then If I use that field for filter..Will it work?

#595064

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - it should be a Types number field and should be associated with your post type then you can add it as filter.

#595068

Yes.. I will create it using toolset itself..

#595086

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

thats OK. Then you will be able to add it as normal custom field filter.

#595088

Ok Thanks