Hi,
how can I show just the stars representing the average rating for a post in either the single post or archive page
Thanks
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpDiscuz community!
Merry Christmas and 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.