Limit Comments and Word Count


This plugin will limit the number of comments and word length each user can add to a WordPress blog post. The plugin adds above the comment box an active letter counter, word counter, and comment counter, that provides a user constant visual access to their input activity. Any comment that exceeds the word limit will result in a predefined error message as the user tries to post a comment. Additionally, the comment will not post. Once the user edits the words that exceeds the limit, the alert message immediately disappears and the comment can be posted. User types are defined when the rule is created, isolating what user type is restricted by a given rule. Multiple rule types can be created if different rules are required. The plugin never places a restriction on the administrator where they remain unaffected by all limits.

This plugin also combines the ability to limit the number of comments allowed by the blog administrator. The defined limit is contained to each day, each week or each month. Once the limit is reached by definition of the time span selected, an alert message displays the reason for not allowing further comments. The plugin as a whole is very simple and uses nearly no system resources and is compatible with all tested blog add-ons loaded to the initial staging site.

This includes membership platforms like Magic Members, MemberPress, Memberships Pro, Restrict Content Pro, LearnDash, S2Member and WooCommerce Memberships. Additionally, the plugin works in combination with any other WordPress module that requires a user to register before commenting. To clarify, for the plugin to work, a user must be a registered and active for the plugin to track activity. Logically, no plugin can monitor or limit unregistered anonymous comments.

Using in Multisite Installation

  1. Extract the zip file contents in the wp-content/mu-plugins/ directory of your WordPress installation. (This is not created by default. You must create it in the wp-content folder.) The ‘mu’ does not stand for multi-user like it did for WPMU, it stands for ‘must-use’ as any code placed in that folder will run without needing to be activated.
  2. Access the Plugins settings panel named ‘Limit Comments and Word Count’ under options.
  3. Configure your settings with two different error messages and save settings.

Technical Details for Release 1.0.6

Load time: 0.412 s; Memory usage: 36.17 KiB
PHP up to tested version: 7.2.16
MySQL up to tested version: 8.0.15
cURL up to tested version: 7.66.0, OpenSSL/1.0.2u


  • Create or edit limit rule settings page with sample content
  • Word count exceeded sample screen capture
  • Comment count exceeded sample screen capture


  1. Upload the plugin files to the ‘/wp-content/plugins/plugin-name’ directory, or install the plugin through the WordPress plugins screen directly.

  2. Activate the plugin through the ‘Plugins’ screen in WordPress

  3. Use the Settings -> Limit Comments and Word Count setup page to configure the plugin

  4. Configure your settings with two different error messages and save settings.


Is this plugin frequently updated to WordPress compliance?

Yes, attention is given on a staged installation with many other plugins via debug mode.

Is the plugin as simple to use as it looks?

Yes. No other plugin exists that addresses both comments and word limits so simply.

Has there ever any compatibility issues?

There were conflicts with PHP 7.2 that has since been resolved.

Is the code in the plugin proven stable?

Paste and click the following link to test the latest update of this plugin for stability.


July 26, 2018
Not heavy and at the same time has all the functions that I need. It helps me so much.
Read all 2 reviews

Contributors & Developers

“Limit Comments and Word Count” is open source software. The following people have contributed to this plugin.



1.0.6 11/21/19

  • Fixed: PHP line 854 error and custom roles.
  • Update: Make compatible with WordPress 5.3.
  • Update: Make compatible with MemberPress 1.7.2.
  • Bug fix on selected user role when editing
  • Highlight word limit count when reached and exhausted

1.0.5 12/16/18

  • Update: Make compatible with WordPress 5.0.1.

1.0.4 08/04/18

  • Fixed: Rating reminder would not disable properly.
  • Update: Make compatible with WordPress 4.9.8.

1.0.3 07/25/18

  • Fixed: Style error conflicting with blog formatting.

1.0.2 07/20/18

  • Fixed: Comments limit not updating after full cycle.

1.0.1 07/19/18

  • New: Administrator reminder to rate after 15 days
  • Improvement: Enlarge alert message fields width
  • Update: Emphasize plugin works with registered users only
  • Fixed: Users waiting 24 hrs after each comment

1.0.0 07/03/18

  • Initial release