這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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