內容簡介
CMB2 Taxonomy 將使用 CMB2 API 為您的分類創建具有自定字段的元框和表單(是的,它也會讓您驚訝)。
此外掛會添加另一個表用於項目メタ數据存储,遵循元數據API的模式,這意味着即使我們添加了一個額外的表,我們仍在使用元數據API。詳細信息請參見使用部分。
要開始使用,請遵循附帶的 example-functions.php 文件中的示例並查看基本使用說明。
您可以在這裡查看可用字段類型的列表。
功能:
創建可在分類編輯屏幕上使用的元框。
靈活的API,允許您幾乎在任何地方使用CMB2表單,甚至在前端使用。
包含幾種字段類型。
自定API鉤子,允許您創建自己的字段類型。
有許多鈎子和過濾器,允许您修改库的许多方面(无需直接編輯)。
大多數字段類型支持可重复字段,以及可重复字段組。
CMB2 可与任何项目捆绑使用,并安全加载最新版本。
鏈接
Github 项目页面
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
CMB2 Taxonomy will create metaboxes and forms with custom fields for your taxonomies using the CMB2 API (and yes, it will blow your mind too).
This plugin adds an additional table for term’s metadata storage following the metadata patterns which means that eventhough we add an extra table we still using the metadata API. Check the Usage section for more information.
To get started, please follow the examples in the included example-functions.php file and have a look at the basic usage instructions.
You can see a list of available field types here.
Features:
Create metaboxes to be used on taxonomy edit screens.
Flexible API that allows you to use CMB forms almost anywhere, even on the front-end.
Several field types are included.
Custom API hook that allows you to create your own field types.
There are numerous hooks and filters, allowing you to modify many aspects of the library (without editing it directly).
Repeatable fields for most field types are supported, as well as repeatable field groups.
CMB2 is safe to bundle with any project. It will only load the newest version in the system.
Links
Github project page
