×


Modify wpDiscuz plugin, limit registered user to comment once and limit number of comments, in a post

 

Navigate to  wp-content/plugins/wpdiscuz/templates/comment/comment-form.php

Find line

Put the following condition to limit the number of user comments to one and limit total comments.

Read more about the functions used here

https://truetocode.com/disable-wordpress-comment-box-on-reaching-a-specific-number-of-comments-or-if-user-already-posted-a-comment/

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *