Title: Limit Comments and Word Count
Author: artiosmedia
Published: <strong>2018-07-04</strong>
Last modified: 2025-12-13

---

Szukaj wtyczek

![](https://ps.w.org/limit-comments-and-word-count/assets/banner-772x250.jpg?rev
=1903702)

![](https://ps.w.org/limit-comments-and-word-count/assets/icon-256x256.jpg?rev=1903702)

# Limit Comments and Word Count

 Autor: [artiosmedia](https://profiles.wordpress.org/artiosmedia/)

[Pobierz](https://downloads.wordpress.org/plugin/limit-comments-and-word-count.1.2.4.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/limit-comments-and-word-count/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/limit-comments-and-word-count/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/limit-comments-and-word-count/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/limit-comments-and-word-count/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/limit-comments-and-word-count/)

## Opis

This plugin adds an active letter counter, word counter, and comment counter above
the comment box, providing users with constant visual access to their input activity.
Any comment that exceeds the word limit will result in a red change in its count
as the user types more words. If users try to post anyway, a warning dialogue will
appear below the comment box stating the limit, and the comment will not post. Once
the user edits the words that exceed the limit, the comment can be posted. User 
types are defined when a rule is created, allowing a rule to restrict a specific
user type. Multiple rule types can be made if different rules are required.

The plugin never restricts or limits the WordPress default user types Administrator,
Editor, Author, and Contributor. If the blog administrator creates a rule for any
of the three roles (Editor, Author, or Contributor) separately, that rule supersedes
the default setting. Other user types that may appear in the user type dropdown 
do not default to WordPress and would require a rule to be created if limits are
needed.

This plugin also allows the blog administrator to limit the number of comments. 
The defined limit applies to each day, week, month, or year. Once the limit set 
by the selected time span is reached, an alert message explains why further comments
are not allowed.

The plugin settings allow you to disable the default WordPress flood protection 
notice, which blocks a user from quickly submitting successive posts and results
in a 404 error. Additionally, a user is blocked by default from pasting the same
comment, letter-for-letter, under any post. This can also be disabled.

The latest addition enables activating a Comment Rules pop-up modal within the post.
It can be deactivated in the settings, but is active by default. It appears in the
top-left corner above the post’s comment box. You may create the rules to read however
you wish in settings, but keep the text rules short, as in the sample text, or they
will wrap and distort the appearance of the window.

The plugin as a whole is straightforward, 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 with any other WordPress module that requires users to register
before commenting. To clarify, for the plugin to track activity, a user must be 
registered and active. Logically, no plugin can monitor or limit unregistered anonymous
comments. The plugin limits cannot control guests; only registered users can.

As of **version 1.1.3**, you can now, from the metabox in each post, select the 
post to be exempt from the limit rules saved in the plugin’s settings. This has 
been a repeat feature request.

As of **version 1.1.8**, an administrator can optionally enter a global value in
the settings panel to limit the total number of comments allowed on all posts. If
the field is left blank, WordPress’s default value is maintained.

Notes: This plugin will not work with wpDiscuz where it uses its own hook and templates.
If the limit is set to 2 comments in 24 hours, for example, and the moderator deletes
one, the subscribers’ comments will now show that another comment remains. Previously,
any comments in the trash within a limited time were counted against the subscriber.

The plugin’s language support includes: English, Spanish, German, French, and Russian.

### 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, as 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 the settings.

### Technical Details for Release 1.2.4

Load time: 0.311 s; Memory usage: 3.56 MiB
 PHP up to tested version: 8.3.28 MySQL
up to tested version: 8.4.7 MariaDB up to tested version: 12.0.2 cURL up to tested
version: 8.17.0, OpenSSL/3.6.0 PHP 7.4, 8.0, 8.1, 8.2, and 8.3 compliant. Not tested
on 8.4 yet.

## Zrzuty ekranu

[⌊Create or edit the limit rule settings page with sample content⌉⌊Create or edit
the limit rule settings page with sample content⌉[

Create or edit the limit rule settings page with sample content

[⌊Add an optional Comment Rules modal above comment box for users⌉⌊Add an optional
Comment Rules modal above comment box for users⌉[

Add an optional Comment Rules modal above comment box for users

[⌊Word count exceeded warning dialogue example⌉⌊Word count exceeded warning dialogue
example⌉[

Word count exceeded warning dialogue example

[⌊Comment count exceeded sample screen capture⌉⌊Comment count exceeded sample screen
capture⌉[

Comment count exceeded sample screen capture

[⌊Metabox allows rule exclusion on individual posts⌉⌊Metabox allows rule exclusion
on individual posts⌉[

Metabox allows rule exclusion on individual posts

## Instalacja

 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 the settings.

## Najczęściej zadawane pytania

### Is this plugin frequently updated to WordPress compliance?

Yes, attention is given to 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.

### Have there ever been any compatibility issues?

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

### Is the code in the plugin proven stable?

Please click the following link to check the current stability of this plugin:
 
[https://plugintests.com/plugins/limit-comments-and-word-count/latest](https://plugintests.com/plugins/limit-comments-and-word-count/latest)

## Recenzje

![](https://secure.gravatar.com/avatar/055e71c5a47d398ddc6808cf7f2bc28c3613ce7e61d6d1cd70202b5cb301a2b2?
s=60&d=retro&r=g)

### 󠀁[sehr praktisch!](https://wordpress.org/support/topic/sehr-praktisch-7/)󠁿

 [thomsenf](https://profiles.wordpress.org/thomsenf/) 2023-08-07

Ohne viel Schnickschnack, einfach zu bedienen, klappt super! Hatte einen kleinen
bug gefunden, wurde kurzfristig behoben! top support 👍🏻

![](https://secure.gravatar.com/avatar/b54c7fe0106b6aa41d53f2a22af4ce2812ae60d794a43f270fd2352dd29be422?
s=60&d=retro&r=g)

### 󠀁[It works!](https://wordpress.org/support/topic/it-works-2415/)󠁿

 [onlygrace](https://profiles.wordpress.org/maurno/) 2023-06-19

This plugin has prevented very lengthy comments from our readers. We find that other
readers dislike (as much as we do) a comment which goes on and on for many paragraphs,
when a few sentences will do.

![](https://secure.gravatar.com/avatar/0c821f771fc269a6127b401f2a6753ea0e93b6b0f5c171bb66c7184ed7c6c124?
s=60&d=retro&r=g)

### 󠀁[Very useful plugin!](https://wordpress.org/support/topic/very-useful-plugin-1383/)󠁿

 [andreymiller](https://profiles.wordpress.org/andreymiller/) 2022-11-16

So Lucky I bumped here: I solved a critical situation in few clicks

![](https://secure.gravatar.com/avatar/8dd685197ec6a3aaca49d655189644cd3f56e3af06e7f8ad1541d49511c1233e?
s=60&d=retro&r=g)

### 󠀁[I don’t like leaving negative reviews, BUT…](https://wordpress.org/support/topic/i-dont-like-leaving-negative-reviews-but/)󠁿

 [akmc117](https://profiles.wordpress.org/akmc117/) 2020-10-14 5 odpowiedzi

… the plugin had a nag notice up pestering me for one, so I have to call it as I
see it. The first thing is that I agree with the review by dannydanny; this doesn’t
seem to give you the ability to limit posts by people who aren’t members. But that
aside, the description of the Plugin was: „This 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”. I did not see ANY of those. (5.5.1–
en_AU, Twenty Seventeen theme.) But what I DID see when the plugin was enabled was
that the [Post Comment] control had completely vanished from the page. I’m guessing
that it can still be seen by bots since the endless Russian spam postings have continued
unabated, it was only humans who did not have access to the button. As soon as I
disabled the plugin, the button came back. As soon as I reenabled the plugin, and
refreshed the page, it vanished again. (I had windows open in Firefox, Chrome and
Edge to check that this wasn’t a browser issue.) With the plug-in active, I couldn’t
even see the button when I was logged on as an Admin. I have to again agree with
dannydanny; if I give someone an account then it implies that I trust them to not
abuse the privilege. THEY aren’t the people that I need to put limits on, and as
far as I can see the plugin doesn’t give you the option of limiting non-members.
That being the case, I would not have a need for this plugin, and will be uninstalling
it once I post this. I didn’t rate it as 1 star out of malice, but the tool tip 
over 2 stars says „Works”… and if the [Post Comment] button isn’t even visible to
an admin it’s really hard to say „it works”. Yes, it stops comments… but in my experience
it stops ALL comments that aren’t done by spam bots, since the commenter has no 
way of posting the comment.

![](https://secure.gravatar.com/avatar/0644517f5727db18e60d42b2a7cb9b88797931d71f3c4176a927da396305617f?
s=60&d=retro&r=g)

### 󠀁[Not Bad, Missing Important Features](https://wordpress.org/support/topic/not-bad-missing-important-features/)󠁿

 [dannydanny](https://profiles.wordpress.org/dannydanny/) 2020-05-28 1 odpowiedź

This plugin is great, but seems to lack the ability to limit comments for folks 
who are not registered users. For example, if someone comes along that is not a 
user of my site and wants to add a comment, I can’t limit those. And those are the
most important to limit. Maybe I’m misunderstanding the plugin. Also, once you create
a limit or a rule, the rules do not show so how can you possibly remember what you’ve
done? It just says, „settings saved.” But it does not show that you have created
a rule. So there is no way to see what rules you’ve imposed upon each user type.

![](https://secure.gravatar.com/avatar/f129b2ed65254119cbb07257d4e4ca782133999cec7aece89ee3595bb9d1a004?
s=60&d=retro&r=g)

### 󠀁[LOVE IT](https://wordpress.org/support/topic/love-it-2949/)󠁿

 [classytech23](https://profiles.wordpress.org/classytech23/) 2020-03-12

This plugin is great at limiting comments on my blog; easy to setup!

 [ Przeczytaj 10 recenzji ](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/)

## Kontrybutorzy i deweloperzy

„Limit Comments and Word Count” jest oprogramowaniem open source. Poniższe osoby
miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ artiosmedia ](https://profiles.wordpress.org/artiosmedia/)
 *   [ Steven Ray ](https://profiles.wordpress.org/steveneray/)
 *   [ Md Arafat Rahman ](https://profiles.wordpress.org/arafatrahmanbd/)

[Przetłumacz wtyczkę “Limit Comments and Word Count” na swój język.](https://translate.wordpress.org/projects/wp-plugins/limit-comments-and-word-count)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/limit-comments-and-word-count/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/limit-comments-and-word-count/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/limit-comments-and-word-count/)
przez [RSS](https://plugins.trac.wordpress.org/log/limit-comments-and-word-count/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

1.2.4 12/12/25
 – Fixed word count algorithm to properly handle multiple spaces,
tabs, and newlines – Fixed script dependency order ensuring SimpleModal loads before
comments.js – Replaced deprecated jQuery .bind() method with .on() in comments.js–
Implemented minimum word validation that was previously unused – Added proper namespacing
to settings.js to prevent global variable conflicts – Improved HTML escaping in 
settings.js for better security – Added ARIA accessibility attributes to comment
rules modal – Corrected SimpleModal version string from 1.4.6 to 1.4.4 – Added jQuery
as explicit dependency for frontend scripts – Fixed PHP count_words() function for
consistent word counting with JavaScript – Fixed review nag to appear 30 days after
install (was 15 days) – Fixed X button to reset nag timer for another 30 days (was
permanently disabling) – Added handler for review link click to permanently disable
nag

1.2.3 12/11/25
 – Bug Fix: Fatal error when the duplicate comments feature is enabled–
Bug Fix: SQL injection vulnerability in duplicate comments handler – Improved escaping
of admin settings output – Assure compliance with WordPress 6.9.0

1.2.2 03/01/25
 – Updated donation link to Zeffy – Assure compliance with WordPress
6.7.2

1.2.1 09/01/24
 – Minor edits to language files – Assure compliance with WordPress
6.6.1

1.2.0 04/06/24
 – Make minor adjustments and edits – Assure compliance with WordPress
6.5

1.1.9 12/27/23
 – Fixed code to allow missing language results – Test total compatibility
with several themes – Assure compliance with WordPress 6.4.2

1.1.8 08/28/23
 – Added global comment limit for posts – Assure compliance with 
WordPress 6.3.0

1.1.7 08/04/23
 – New: Add German language (user request) – Fixed user side static
text not using PO files – Assure compliance with WordPress 6.2.2

1.1.6 03/29/23
 – Optimize for PHP 8.1 and WordPress 6.2 – Fixed: Issue in editing
existing rules for comment – Add Russian language – Assure current stable PHP 8.1
and 8.2 use

1.1.5 06/23/22
 – Add Comment Frequency option Per Year – Update: All language files–
Assure current stable PHP 8.1.6 use

1.1.4 05/23/22
 – Text edits along with translations – Assure compliance with WordPress
6.0

1.1.3 01/25/22
 – New: Added metabox to post screen to exclude post from limit Comments
rule – Fixed: Comment button missing for administrator – Fixed: Some known themes
compatibility issues – Fixed: Rules not been deleted after reloading page – Fixed:
Stats still show up on comment page when no rules is added – Fixed: Some PHP/WordPress
warning error log on when viewing posts when no rules are added – Fixed: Issue with
translation folder – Update: All language files – Updates for WordPress 5.9 – Assure
current stable PHP 8.1.1 use

1.1.2 04/29/21
 – Modify readme.txt with description updates – Update: Make compatible
with WordPress 5.7.2.

1.1.1 09/24/20
 – Modify readme.txt with description updates – Update: Make compatible
with WordPress 5.5.1.

1.1.0 06/19/20
 – New: Add modal to provide optional blog comments rules. – New:
Add Spanish and French languages. – Update: User comments in trash do not count 
against limit. – Update: CSS for modal and plugin warning dialogues. – Update: Make
compatible with WordPress 5.4.2.

1.0.7 01/07/20
 – New: Add settings to disable flood protection notice. – New: Add
settings to allow user to add duplicate comments. – Update: Make compatible with
WordPress 5.3.2.

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

## Meta

 *  Wersja **1.2.4**
 *  Ostatnia aktualizacja **6 miesięcy temu**
 *  Włączone instalacje **50+**
 *  Wersja WordPressa ** 4.6 lub nowszej **
 *  Testowano do **6.9.0**
 *  Wersja PHP ** 7.4.33 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/limit-comments-and-word-count/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/limit-comments-and-word-count/advanced/)

## Oceny

 4.4 na 5 gwiazdek.

 *  [  7 recenzji 5-gwiazdkowych     ](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/?filter=5)
 *  [  1 recenzja 4-gwiazdkowa     ](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/?filter=2)
 *  [  1 recenzja 1-gwiazdkowa     ](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/limit-comments-and-word-count/reviews/)

## Zaangażowani

 *   [ artiosmedia ](https://profiles.wordpress.org/artiosmedia/)
 *   [ Steven Ray ](https://profiles.wordpress.org/steveneray/)
 *   [ Md Arafat Rahman ](https://profiles.wordpress.org/arafatrahmanbd/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/limit-comments-and-word-count/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://www.zeffy.com/en-US/donation-form/your-donation-makes-a-difference-6)