Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Mandatory Field

Beskrivning

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.

Skärmdumpar

  • Making fields Mandatory
  • Category and featured image mandatory

Installation

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

Recensioner

3 september 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
Läs alla 4 betyg

Bidragsgivare och utvecklare

”Mandatory Field” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Mandatory Field” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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.