This is an add-on for the Advanced Custom Fields
这是高级自定义字段的附加组件
WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed
WordPress插件,除非安装了高级自定义字段,否则不会为WordPress提供任何功能
and activated.
并激活。 p>
The taxonomy field provides a select, multi-select or checkboxes of taxonomy terms (categories, tags, custom taxonomies…)
“分类法”字段提供选择,多项选择或复选框的分类法术语(类别,标签,自定义分类法…)
and the ability to map the selected terms to the post.
以及将所选字词映射到帖子的功能。
The post type must support the taxonomy for the mapping to work.
帖子类型必须支持分类法,映射才能起作用。
The taxonomy field currently does not provide the ability to add new terms to a taxonomy.
分类法字段当前不提供向分类法添加新术语的功能。
The return type of the get_value()
get_value() code>
的返回类型api can be changed in the field settings.
可以在字段设置中更改api。 p>
Source Repository on GitHub
GitHub上的源存储库 h4>
https://github.com/GCX/acf-taxonomy-field
https://github.com/GCX/acf-taxonomy-field p>
Bugs, Questions or Suggestions
错误,问题或建议 h4>
https://github.com/GCX/acf-taxonomy-field/issues
https://github.com/GCX/acf-taxonomy-field/issues p>
Todo
Todo h4>
- Add ability to add new terms to a taxonomy
- 增加向分类法添加新术语的功能 li>
- Add more term selection methods (checkboxes, token input).
- 添加更多的术语选择方法(复选框,令牌输入)。 li>
ul>