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

Category Custom Fields

描述

The plug in will let add unlimited custom fields to any cateogry/taxonomy

屏幕截图

  • Admin Panel
  • Category Add screen
  • Category Edit screen

安装

  1. Copy the files in the plug in direcotry.
  2. Activate the plug in
  3. In admin at Settings menu you will have Category Settings entry.

常见问题

Q: How do I add custom fields for categories?
A: In admin you will have the “Category Settings” entry under Settings menu

Q: How can I add an image to a category?
A: In Category Settings you can add new fields. By selecting image as field type the system will now to handle images for that field.
When editing a category your new field will be able to get images files.

Q: Why I can’t I add files/images on the add screen of a category?
A: The current version can handle files upload only from the edit screen.

Q: What is a taxonomy?
A: A category is a taxonomy. The plug in allows you to add fields only for the most know taxonomy ( category) or for custom taxonomies.

Q: How to get post by a custom field?
A: You have to call categoryCustomFields_GetPostsByCustomField with the following two parameters : field name Color (e.g. Image) and field value (e.g. Red).

Q: How to get categories by custom field
A: You have to call categoryCustomFields_GetCategoriesByCustomField with the following two parameters : field name Color (e.g. Image) and field value (e.g. Red).

评价

2016 年 9 月 3 日
I just love this plugin, there are a lot times when we need custom fields for categories instead of just posts, there this plugin comes to action and fulfill our requirement…. Thanks a lot.
阅读所有8条评价

贡献者及开发者

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

贡献者

将“Category Custom Fields”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.5

Fixed the bug when values were not saved if the custom field would have contain spaces

1.4

Fixed some bugs. Added the function categoryCustomFields_GetCategoriesByCustomField

1.3

Fixed some bugs. Added the function categoryCustomFields_GetCategoriesByCustomField

1.2

Fixed some bugs.

1.0.1

Fixed a bug when editing categories with images.

1.0

  • First version is out