Linux 软件免费装
Banner图

HEXTWO Category Sanity

开发者 danemorgan
更新时间 2018年2月13日 11:27
PHP版本: 5.2 及以上
WordPress版本: 4.9
版权: GPL v2.0 or Higher
版权网址: 版权信息

标签

categories publishing uncategorized

下载

详情介绍:

Hextwo Category Sanity A simple plugin to prevent posting with no category, Uncategorized category, or more than one category selected. What it does.
  1. If you forget to check a category box and try to publish your post, it will pop an alert telling you the you must select a category before you publish.
  2. If you have previously selected the uncategorized category and try to publish, it will pop an alert telling you that you mus uncheck the Uncategorized category.
  3. If you have two or more categories selected and try to publish it will pop an alert and tell you that you may only select one category.
If the current post type does not support the built-in WordPress category taxonomy, the script bails and does nothing. This will only affect posts with Category support. In the future I might add a selection tool to allow specifying a number of categories that are allowable, but for now, I think one is a good starting point.

安装:

  1. Upload the plugin package to the plugins directory.
  2. Login to the dashboard and activate the plugin.

屏幕截图:

  • This screenshot shows an alert that you have not set a category.
  • This screenshot shows an alert that you have selected the Uncategorized category.
  • This screenshot shows an alert that you have selected more than one category.

更新日志:

1.0.0 Initial Release 2018/02/11git status