This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Mandatory Field


Before publishing normally we would like to mandate certain fields which are important like Title,Description,Meta keywords,etc. These fields are actually the basic fields to be filled in before publishing any post but it might slip out from the author’s mind unintentionally. In order to avoid this behavior we have developed this plugin which will ensure that all the fields decided by the admin should be filled in before posting any material.

This plugin can be customized to mandate upto 5 fields currently. This plugin plays a very useful role in case of mandating ‘Meta keywords’ field which help in bringing up your site in the initial pages of search engines like ‘Google’,’Bing’,etc. In this way it plays an important role in SEO.

email :
email :

Future Scope:
More than 5 fields could be mandatory.


  • Making fields Mandatory
  • Category and featured image mandatory


  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Check the id & name for the field you want to make it mandatory.
  4. Go to option’s page called “Mandatory Settings” paste the id & name as:- “Name:id”.


September 3, 2016
hi there, I would like to set (as administrator of a multi-blogeur blog) rules who would block automatically the submition of drafts if all the required fields are not properly complete by the authors. Your plugin would therefore be very helpfull to solve my issue. Unfortunately, your plugin does not seem to be compatible with my WP version (4.2.2). Is that correct? If so, are you going to update this plugin? If no, do you know further plugins that are compatible to my WP version? Best regards, Tobie
Read all 4 reviews

Contributors & Developers

“Mandatory Field” is open source software. The following people have contributed to this plugin.

Translate “Mandatory Field” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


Minor JS return type issue fixed

Fixed the minor JS error

Fixed the publish error
Added Category/featured image notification

Compatibility with 3.9.1

Major update, added support for fields who has only ID and do not have Name attribute.(Javascript compulsory)

Removed published post message if mandatory fields are not published
Fixed post delete.

Fix uncategoried category issue

Added Support for categorires
Fixed featured image bug.

Added support for making featured image mandatory.