Comments Work - A versatile craft 3 plugin to allow commenting in Craft CMS.
- Add user comments to any type of element, such as users and content items
- Get a nice overview of submitted comments in the CP
- Moderation: delete, approve or mark as spam in the CP
- Moderation: modify comment contents in the CP
- Comment forms are signed so malicious users cannot submit comments to arbitrary content
As easy as:
{# @var commentsWork \twentyfourhoursmedia\commentswork\services\CommentsWorkService #}
{% set commentsWork = craft.commentsWork.service %}
{% set comments = commentsWork.fetchComments(entry, 0, 5) %}
{% for comment in comments %}
<li>{{ comment.title }}</li>
{% endfor %}