Limited Support
Dear Clients and Partners, we wish you a Merry Christmas and a Happy New Year! May this season bring you joy, peace, and good times with your loved ones.
Our support will be limited during the holidays, and we will return to full service on January 7.
Thank you for your understanding.
We appreciate your support this year and look forward to working with you in the new year.
Happy Holidays!
Hi,
how can I show just the stars representing the average rating for a post in either the single post or archive page
Thanks
Hi @jjk,
Please read this doc: https://wpdiscuz.com/docs/wpdiscuz-documentation/settings/comment-list-settings/#display_ratings
after looking into this a bit, I think here might be a small bug in the code..
in the Form.php, within public function getRatingMetaHtml on or around line 950 (not sure exact as I messed around with it) the code calls the function itself again
$html = $form->getPostRatingMetaHtml($atts);
$html = $form->getPostRatingHtml($atts);
However, there is no way to only show the stars, which would be desireable for example in an archive view or as a small indicator behind a posts title. For that, I have copied the getPostRatingHtml() function to a new one getPostRatingStarsHtml() and deleted all html that isn't necessary to show only the 5 stars inline with adjacent text.