Skip Navigation

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

This support ticket is created hace 7 años. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Etiquetado: 

Este tema contiene 6 respuestas, tiene 2 mensajes.

Última actualización por marcB-6 hace 7 años.

Asistido por: Minesh.

Autor
Mensajes
#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 : enlace oculto
from above link visitors can give rating.

Please check attached screenshot for better understanding.

#595029

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: 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

Idiomas: Inglés (English )

Zona horaria: 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

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

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

#595088

Ok Thanks