WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Greg's Comment Length Limiter

Provides a configurable limit on the length of comments left in the comment form, with a dynamically updated character count displayed for the user.

NOTE: Please do NOT use the WordPress forums to seek support for this plugin. Support for GCLL is handled on our own site.

This plugin provides a configurable limit on the length of comments left in the comment form, with a character countdown displayed for the user and dynamically updated with each keypress.

New in This Version

  • Noted compatibility with WordPress 3.9.

Background

Most of us welcome comments on our blog posts, but that doesn't necessarily mean that we -- or our readers -- like to see comments reaching into thousands of words. Readers may be discouraged from commenting themselves (or reading comments at all) when they see very long entries left by others, and during times of high load, the significant performance overheads associated with retrieving and displaying long comments can slow even the speediest dedicated servers.

From the perspective of SEO (search engine optimization), very long comments also dilute the impact of the author's original post by relegating it to a small proportion of the overall content available on the page. For advanced SEO capabilities, see Greg's High Performance SEO Plugin.

The primary approach to limiting the total volume of comment material displayed on a page has long been to break up comments across several pages -- either via a plugin or now with the built-in paged comment feature introduced in WordPress 2.7.

This plugin provides one more tool by directly limiting the length of any one comment. A lightweight JavaScript counter -- just 5 lines of inline JavaScript, with no gigantic external AJAX libraries to load -- lets the user know how many characters they have left to complete their entry. Any additional text which might be inserted beyond the configured limit via cutting and pasting is automatically trimmed to length.

For users without JavaScript, the counter degrades gracefully, providing a visual indication of the preferred (but unenforced) length limit, without the countdown feature.

For coders, the plugin provides additional configuration options via direct calls.

Requires: 2.7 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-23
Downloads: 13,949

Ratings

4 stars
4.5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,3,3
100,3,3 100,2,2 100,3,3 100,2,2 100,2,2 100,2,2
100,2,2 100,2,2 0,1,0
50,2,1 67,3,2 100,1,1
0,1,0
100,2,2
0,1,0
100,1,1
0,1,0 100,1,1
0,1,0
100,1,1
0,1,0
100,2,2