- Contributors: itsananderson
- Requires at least: 4.2
- Tested up to: 4.2
- Stable tag: 1.0
Description: Prevents users from posting comments that are longer than a configurable maximum
Sometimes comments become so long that they lose their value.
Long Comment Filter solves this problem by preventing visitors from posting long comments.
Long Comment Filter Plugin is pretty flexible. Here are some things you can customize.
- Filter Type - This determines whether to apply a maximum word or maximum character filter
- Maximum Count - Sets the maximum number of words/characters (depending on Filter Type) that comments can contain.
- Default Filter Action - This determines whether filtered comments are deleted, or simply flagged as spam
- Filter Registered Users - If turned off, registered users will not be filtered. They can create comments of any length.
- Check Client Side - If turned on, JavaScript will be used on the client side to make sure comments aren't too long. On by default.
Manual Installation
- Upload the complete
long-comment-filter
folder to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
- Navigate to Settings > Long Comment Filter to customize the plugin settings.
- If you wish to use client side JavaScript filtering, make sure your comment form has ID "commentform" and your comment textbox has ID "comment"
WordPress Admin Installation
- Log into your WordPress Admin
- Go to Plugins » Add New
- Search for "Long Comment Filter"
- Click "Install"
- Click "Activate"
- Navigate to Settings > Long Comment Filter to customize the plugin settings.
- If you wish to use client side JavaScript filtering, make sure your comment form has ID "commentform" and your comment textbox has ID "comment"