Title: Force Post Category Selection
Author: Jatinder Pal Singh
Published: <strong>2012 年 4 月 12 日</strong>
Last modified: 2015 年 2 月 10 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/force-post-category-selection.svg)

# Force Post Category Selection

 作者：[Jatinder Pal Singh](https://profiles.wordpress.org/j_p_s/)

[下载](https://downloads.wordpress.org/plugin/force-post-category-selection.zip)

 * [详情](https://cn.wordpress.org/plugins/force-post-category-selection/#description)
 * [评价](https://cn.wordpress.org/plugins/force-post-category-selection/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/force-post-category-selection/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/force-post-category-selection/#developers)

 [支持](https://wordpress.org/support/plugin/force-post-category-selection/)

## 描述

This is a simple plugin which is designed to help the posters who some times forget
to select the post category and post is published under default category. Once activated,
this plugin will force the users to select post category while adding new post to
wordpress site. Whenever User tries to publish a post without selecting category,
it will give an alert to the user and also highlight the category selection area
so that user can see from where to select the post category.
 Moreover, If poster
hasn’t selected the category while clicking on publish button, it will save the 
post as draft under default, so no need to worry about loosing the post content 
in any case due to this plugin.

## 屏幕截图

 * [[
 * Plugin In Action
    screenshot-1.png screenshot-2.png
 * [[

## 安装

 1. Upload `force-post-category-selection` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. That’s it.

## 常见问题

  Plugin is not working as expected

If web browser doesn’t support JS, then this plugin will not work

## 评价

![](https://secure.gravatar.com/avatar/f4c5cc19754db9acf5b03d3db01699a68a0aa56d6bd668a0c571df313e44675a?
s=60&d=retro&r=g)

### 󠀁[Love !](https://wordpress.org/support/topic/love-42/)󠁿

 [venelinpetrov](https://profiles.wordpress.org/venelinpetrov/) 2017 年 6 月 13 
日

Even it’s not updated lately it works as expected !

![](https://secure.gravatar.com/avatar/2ea981e3eec832e515255f0e734fd7559843e5989d1c1c9291c4e957bfd768fb?
s=60&d=retro&r=g)

### 󠀁[Install, then forget. A+](https://wordpress.org/support/topic/install-then-forget-a/)󠁿

 [AndyWarren](https://profiles.wordpress.org/awarren/) 2016 年 9 月 9 日

Just found this little gem of a plugin. Its so simple to use, literally just install
then forget about it. I have two categories, and needed to make sure at least one
of them was selected. This did the job perfectly. Thanks!

![](https://secure.gravatar.com/avatar/66f3020711b63a04ab589ecd7a1cfa198425d0e3cddcd2b4065a689c9437ef74?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-525/)󠁿

 [Damian Davila](https://profiles.wordpress.org/damiandavila/) 2016 年 9 月 3 日

Works just as advertised. Thank you for saving me some coding time Jatinder.

![](https://secure.gravatar.com/avatar/3964017a0c9cb4a5c46f2dd61832eeb9bd75fa30bfc6969bfe65dd01b346e430?
s=60&d=retro&r=g)

### 󠀁[A simple but useful tool](https://wordpress.org/support/topic/a-simple-but-useful-tool/)󠁿

 [bcarney](https://profiles.wordpress.org/bcarney/) 2016 年 9 月 3 日

Does what it says it does – forces a user to select a Category before publishing.

 [ 阅读所有10条评价 ](https://wordpress.org/support/plugin/force-post-category-selection/reviews/)

## 贡献者及开发者

「Force Post Category Selection」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jatinder Pal Singh ](https://profiles.wordpress.org/j_p_s/)

[帮助将「Force Post Category Selection」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/force-post-category-selection)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/force-post-category-selection/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/force-post-category-selection/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/force-post-category-selection/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/force-post-category-selection/)。

## 更新日志

#### 1.0

 * Just developed

#### 1.1

 * Fixed bug with bbpress

## 额外信息

 *  版本 **1.1**
 *  最后更新：**11 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 3.x 或更高版本 **
 *  已测试的最高版本为 **4.x**
 *  语言
 * [English (US)](https://wordpress.org/plugins/force-post-category-selection/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[post](https://cn.wordpress.org/plugins/tags/post/)
   [publish](https://cn.wordpress.org/plugins/tags/publish/)[require](https://cn.wordpress.org/plugins/tags/require/)
   [without](https://cn.wordpress.org/plugins/tags/without/)
 *  [高级视图](https://cn.wordpress.org/plugins/force-post-category-selection/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  9 条 5 星评价     ](https://wordpress.org/support/plugin/force-post-category-selection/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/force-post-category-selection/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/force-post-category-selection/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/force-post-category-selection/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/force-post-category-selection/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/force-post-category-selection/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/force-post-category-selection/reviews/)

## 贡献者

 *   [ Jatinder Pal Singh ](https://profiles.wordpress.org/j_p_s/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/force-post-category-selection/)