Home Plugins wysiwyg character limit for acf
WYSIWYG Character Limit for ACF logo

WYSIWYG Character Limit for ACF

by Code and Core on WordPress.org

Limit characters in ACF WYSIWYG fields with a live counter and validation. Supports per-field/global limits; counts only visible text, ignoring HTML.

(1)
Global Settings – Set a global character limit in plugin settings.

Global Settings – Set a global character limit in plugin settings.

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.

Active installations30+
Weekly downloads
36+200.00%
Version3.0.0
Last updated10/3/2025
WordPress version5.0
Tested up to6.8.3
PHP version7.4
Tags
acfcharacter limittinyMCEvalidationwysiwyg
WYSIWYG Character Limit for ACF | Plugin0