该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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 : ketanmujumdar@gmail.com
email : 24adithya@gmail.com

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”.

评价

2016 年 9 月 3 日
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
阅读所有4条评价

贡献者及开发者

「Mandatory Field」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Mandatory Field」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

v1.6.7
Minor JS return type issue fixed

v1.6.6
Fixed the minor JS error

v1.6.4
Fixed the publish error
Added Category/featured image notification

v1.6.3
Compatibility with 3.9.1

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

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

V1.4.1
Fix uncategoried category issue

V1.4
Added Support for categorires
Fixed featured image bug.

V1.3
Added support for making featured image mandatory.