Hi @garri83,
Please navigate to the Dashboard > Comments > wpDiscuz > Settings > Article and Comment Rating admin page, find the “Display Ratings” section, and check the “Display ratings on non-singular pages” option.
More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/article-and-comment-rating/#display-ratings
This checkbox is enabled, but the rating is not displayed. Tried different templates.
Tell me what shortcode or php code can be used to use for the page builder Elementor?
@garri83,
Also please make sure one of the following options is checked on the same admin page and check again:
. Before Content
. After Content
It’s all inclusive, but the rating is archive not displayed. https://i.imgur.com/wQyw1mF.png
Tell me, what shortcode or PHP code can I use to display the rating in archives, what to insert in an arbitrary place in the template, or using the Elementor page builder?
Hi @garri83,
Please uncheck the “Before Comment Form” option and check for both archive and post pages, and let us know how it works.
It did not help, the rating was not displayed.
Tell me, what shortcode or PHP code can I use to display the rating in archives, what to insert in an arbitrary place in the template, or using the Elementor page builder?
Hi @garri83,
You should use the following shortcode:
[wpdrating metakey="all" show-lable=false show-count=false show-average=false itemprop=false post_id="1"]
The value of the post_id the id of the post where the rating will be displayed.
Please note: This shortcode is only designed for Rating Custom Fields: https://wpdiscuz.com/docs/wpdiscuz-7/customization/custom-field-rating/
Does not work. And it is not clear why to specify a specific ID in post archives.