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

Taxonomy Meta UI

描述

Add as many custom values as you want, or define static fields which are always visible.

Arbitrary section

add_term_meta

add_term_meta( $term_id, $meta_key, $meta_value, $unique = FALSE )

update_term_meta

update_term_meta( $term_id, $meta_key, $meta_value, $prev_value = '' )

delete_term_meta

delete_term_meta( $term_id, $meta_key, $meta_value = '' )

get_term_meta

get_term_meta( $term_id, $key, $single = FALSE)

屏幕截图

  • New term screen with custom fields
  • Edit term screen with custom fields
  • New term screen with custom fields and static field foo
  • Edit term screen with custom fields and static field foo

安装

  • Put the plugin in your plugin directory and activate it in your WordPress backend.

常见问题

Filters

Add static fields to all taxonomies
term_fields

Add static fields for $taxonomy
term_fields_$taxonomy

Remove all custom field support
has_custom_fields

Remove custom field support for $taxonomy
$taxonomy_has_custom_fields

评价

此插件暂无评价。

贡献者及开发者

「Taxonomy Meta UI」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Taxonomy Meta UI」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.2

  • Added: term_fields_$taxonomy filter
  • Added: $taxonomy_has_custom_fields filter
  • Added: has_custom_fields filter
  • Added: $taxonomy_has_custom_fields filter
  • Added: Deinstall routine
  • Added: Placeholder parameter for static fields
  • Removed: `taxonomy-meta-taxonomies filter

1.1

  • Added: term_fields filter
  • Enhancement: Create predefined meta fields
  • Changed: Term meta table renamed

1.0

  • Initial release