WYSIWYG Character Limit for ACF
WYSIWYG Character Limit for ACF is a powerful, feature-rich WordPress plugin that enables you to set maximum character limits for Advanced Custom Fields (ACF) WYSIWYG editor fields. Perfect for maintaining content quality, SEO optimization, and editorial consistency across your WordPress site.
✨ Key Features
Character Limiting & Counting:
- Global Character Limit – Set a site-wide default limit for all WYSIWYG fields
- Per-Field Limits – Override global settings with custom limits for individual fields
- Real-Time Counter – Live character count updates as you type
- Smart HTML Exclusion – Counts only visible text, ignoring all HTML tags and formatting
- Space Counting Options – Choose whether to include or exclude spaces from the count
Visual Feedback & Validation:
- Color-Coded Counter – Visual indicators showing normal, warning, and error states
- Customizable Colors – Set your own colors for counter, warning, and error states
- Warning Messages – Configurable messages when approaching the limit
- Error Messages – Custom error messages when limit is exceeded
- Counter Position – Place counter above or below the editor
- Server-Side Validation – Prevents saving content that exceeds limits
Editor Compatibility:
- TinyMCE Support – Works seamlessly in Visual editor mode
- Text Mode Support – Full functionality in HTML/Text editor mode
- Mode Switching – Maintains accurate count when switching between Visual and Text modes
- ACF Extended Compatible – Full support for ACF Extended features
Advanced Field Support:
- Flexible Content – Works inside Flexible Content layouts
- Repeater Fields – Full support for Repeater fields
- Group Fields – Compatible with ACF Group fields
- Clone Fields – Works with ACF Clone fields
- Dynamic Fields – Handles dynamically loaded fields
Performance & Optimization:
- Lightweight Code – Minimal impact on page load times
- Efficient Counting – Optimized algorithm for large content
- Smart Initialization – Multiple triggers ensure counters work with dynamic content
- No jQuery Conflicts – Clean, conflict-free JavaScript
User Experience:
- Intuitive Settings Page – Clean, modern admin interface with full customization
- Deactivation Feedback – Collect valuable feedback when users deactivate the plugin
- Accessibility Friendly – WCAG compliant with keyboard navigation
- Multisite Ready – Works perfectly on WordPress multisite networks
- Multilingual Compatible – Works with WPML, Polylang, and other translation plugins
- Developer Friendly – Well-documented, clean code with hooks and filters
How it works:
- The plugin automatically adds a character counter below every ACF WYSIWYG field.
- The counter updates live as you type, whether you are in Visual or Text mode.
- HTML tags are ignored in the count, so only the text that will be visible on the front-end is counted.
- If you exceed the limit, the counter turns red and saving is prevented until you reduce the character count.
- Works with dynamic fields, repeaters, flexible content, and ACF Extended.
Why use this plugin?
- Maintain content standards for SEO, news, or editorial sites
- Prevent editors from exceeding allowed content length
- Ensure uniformity in banners, meta descriptions, and structured content
- Save time on manual content checks
- Improve user experience for your content team
Privacy & Data Collection
Your Privacy Matters
This plugin respects your privacy and operates with full transparency:
- No Automatic Data Collection – The plugin does not collect or transmit any data without your explicit consent
- Opt-In Telemetry – You can optionally enable anonymous usage tracking from Settings > ACF WYSIWYG Limit to help improve the plugin
- Deactivation Feedback – When deactivating, you can choose to share feedback to help us improve. This is completely optional
- Encrypted Transmission – All data sent (if you opt-in) is encrypted using AES-256-CBC encryption for security
- No Personal Content – We never collect your post content, user passwords, or sensitive information
- What We Collect (Only if you opt-in):
- Plugin version and settings
- WordPress and PHP versions
- Theme information
- Site language and multisite status
- Anonymous site URL (for duplicate detection only)
Deactivation Feedback
When you deactivate the plugin, a feedback modal appears asking for your reason. This helps us improve the plugin:
- Completely Optional – You can skip and deactivate immediately
- Contact Consent – Check the consent box only if you want us to follow up with support
- Your Choice – Your name and email are only sent if you check the consent checkbox
- Secure – All feedback is encrypted before transmission
License
This plugin is released under the GPL v2 or later. You are free to modify and distribute it.
