這個外掛並未在最新的 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