Effortless Required Fields Validator
Effortless Required Fields Validator ensures content quality by requiring all users to complete essential fields before publishing posts. It works with both the block editor (Gutenberg) and the Classic Editor.
Required Fields
- Title – Post title must not be empty
- Content – Post content must not be empty
- Featured Image – A featured image must be set
- Category – At least one category must be selected (posts only)
Features
- Works for all users – Admins, Editors, Authors, and Contributors all have the same validation
- Dual editor support – Works with both the block editor (Gutenberg) and the Classic Editor
- Block editor: real-time validation – Publish button is disabled and a warning banner shows which fields are missing
- Classic Editor: server-side validation – An error message is shown if required fields are missing when you click Publish
- Multilingual ready – Fully translatable with included French translation
- Lightweight – Minimal performance impact
- Clean code – Follows WordPress coding standards
How It Works
In the block editor (Gutenberg):
- While editing a post, the plugin monitors all required fields in real time
- If any field is missing, the Publish button is automatically disabled
- A prominent warning banner shows exactly which fields are missing
- Once all required fields are filled, publishing is re-enabled
In the Classic Editor:
- Fill in your post as usual and click Publish
- If any required field is missing, an error page is shown with a list of missing fields
- Use the “Back to editing” link to return to the post and complete the missing fields
- Once all required fields are filled, publishing succeeds
Server-side validation runs for both editors, so the check cannot be bypassed.
Use Cases
- Maintain consistent content quality across your site
- Ensure all posts have featured images for better social media sharing
- Enforce editorial standards for multi-author blogs
- Prevent incomplete posts from being published accidentally
- Improve SEO by requiring complete content
Translations
- English (default)
- French (Français) – included
- Translation ready – submit your translations!
Developer Notes
Filters Available
Currently, the plugin doesn’t provide filters for customization, but this may be added in future versions based on community feedback.
Translation
To translate this plugin:
- Use the provided
.potfile in the/languagesfolder - Create your translation using Poedit or similar tool
- For JavaScript translations, compile JSON files using WP-CLI: wp i18n make-json languages/ –no-purge
- Submit your translation to the plugin author
Support
For support, please use the WordPress.org support forums or visit the plugin’s GitHub repository (if available).
Privacy Policy
This plugin does not collect, store, or transmit any user data. It only validates post fields in the WordPress editor.
Credits
Developed by domclic with ❤️ for the WordPress community.