Disgrifiad
WYSIWYG Character Limit for ACF is a feature-rich plugin for WordPress that lets you set a maximum character limit for ACF WYSIWYG fields. It helps you maintain content quality and consistency by enforcing strict character limits for editors and contributors, making it ideal for news, SEO, and editorial sites.
Key Features:
– Global Character Limit: Set a site-wide character limit for all WYSIWYG fields from plugin settings.
– Per-Field Limits: Override the global limit with custom values for individual ACF fields.
– Live Character Counter: See a real-time character count below the editor as you type.
– TinyMCE & Text Mode Support: Works seamlessly in both Visual (TinyMCE) and Text (HTML) modes.
– HTML Tag Exclusion: The character counter excludes all HTML tags in both modes, so only visible text is counted.
– Validation & Warnings: Prevents saving content that exceeds the limit, with clear warnings and color changes.
– Flexible Content & Repeaters: Fully compatible with ACF Flexible Content, Repeater, and Group fields.
– Performance Optimized: Efficient for large content and complex field groups, with multiple initialization triggers for dynamic fields.
– Accessibility Friendly: Counter uses color and clear messaging for better accessibility and user experience.
– Multisite & Multilingual Ready: Works on WordPress multisite and with popular multilingual plugins.
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
License
This plugin is released under the GPL v2 or later. You are free to modify and distribute it.
Lluniau Sgrin

Global Settings – Set a global character limit in plugin settings. 
Field Settings – Define custom character limits inside ACF field options. 
WYSIWYG Editor Counter – Displays real-time character count under the editor. 
Exceeded Limit Warning – Counter turns red when the limit is exceeded. 
Save Validation Warning – Shows an error message on save if the content exceeds the limit.
Gosod
- Upload the plugin folder to
/wp-content/plugins/wysiwyg-character-limit-for-acf/ - Activate the plugin via the Plugins menu in WordPress.
- Go to Settings > ACF WYSIWYG Limit to set a global limit (optional).
- To apply per-field limits, edit any ACF WYSIWYG field and set a Character Limit value.
- The character counter will appear automatically below each WYSIWYG field.
Cwestiynau Cyffredin
-
Does this work with ACF Pro?
-
Yes, the plugin is fully compatible with ACF Free & ACF Pro.
-
Does this work with Flexible Content and Repeater fields?
-
Yes, you can apply character limits inside Repeater, Flexible Content, and Group fields.
-
No. As of version 2.0.2, the character counter excludes all HTML tags and counts only the visible text, in both Visual and Text modes.
-
Can I use this for Word Count instead?
-
Currently, the plugin only supports character count. A future update may add word count support.
-
Is it compatible with ACF Extended and dynamic field loading?
-
Yes, the plugin supports ACF Extended and works with dynamically loaded fields.
-
Can I customize the counter style?
-
You can override the
.char-counterCSS class in your theme or custom CSS.
Adolygiadau
Contributors & Developers
“WYSIWYG Character Limit for ACF” is open source software. The following people have contributed to this plugin.
Cyfranwyr“WYSIWYG Character Limit for ACF” has been translated into 2 locales. Thank you to the translators for their contributions.
Translate “WYSIWYG Character Limit for ACF” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Cofnod Newid
3.0.0
- Fixed: Character counter now ignores all HTML tags in both Visual and Text modes (counts only visible text)
- Improved documentation and accessibility
- Enhanced compatibility with ACF Extended and dynamic field loading
2.0.1
- Fixed character counting in nested fields
- Improved performance for large content
- Added support for custom TinyMCE configurations
2.0
- Added support for WordPress 6.8
- Improved character counting accuracy
- Enhanced validation messages
- Fixed compatibility issues with ACF Pro 6.0+
1.0.0
- Initial release
- Global and per-field character limits
- Live character counter below WYSIWYG editor
- Works in both TinyMCE and Text Mode
