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

All Posts Default Category

描述

This plugin ensures that all posts will always be in the default category. Whenever any post is saved, all posts not currently in the default category are put in the default category. For example, by renaming the default category ‘All’ you always have a category containing all posts.

安装

  1. Unzip all-posts-default-cat.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Save any post, this will put all posts in the default category.
  4. From now on, any time a post is saved, all posts will be kept in the default category.

常见问题

Why would you want to put all posts into the default category?

One reason is to rename the default category to “All” and ensure that all posts will always be in that category.

But isn’t the default category named “Uncategorized”?

Yes, but this can be renamed, for example to “All”.

How do I rename the default category?

Go to Dashboard->Posts->Categories. Edit the first category, this is the category with id ‘1’ and has no checkbox for bulk actions.

评价

此插件暂无评价。

贡献者及开发者

“All Posts Default Category” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • First stable release

1.1

  • Made a change to detect default category instead of assuming default category id of ‘1’