WPU Comments Rating
Allow users to rate in comments.
by Darklg · github.com/wordpressutilities/wpu_comments_rating · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wordpressutilities/wpu_comments_rating/archive/refs/heads/main.zipDeclares an update source (https://github.com/WordPressUtilities/wpu_comments_rating), so updates arrive through the plugin's own updater.
From the readme
WPU Comments Rating
Allow users to rate in comments.
Todo
- [ ] Make the rating system mandatory in comments.
- [ ] Edit rating in admin.
- [ ] Nicer UX for rating in front.
Hooks
wpucommentsratingposttypes
- Select the post types where the rating is enabled.
wpucommentsratingstariconvote
- HTML for the star icon.
wpucommentsratingstariconempty
- HTML for the empty star icon when rating is displayed
wpucommentsratingstariconfull
- HTML for the full star icon when rating is displayed
wpucommentsratingratingposition
- Position of the rating in the text comment : before, after. Any other value will hide the rating.
Helpers
wpucommentsratinggetratinghtml