Šis įskiepis nebuvo išbandytas su 3 vėliausiomis WordPress versijomis. Jis tikriausiai nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

Taxonomy Meta UI

Aprašymas

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)

Ekrano nuotraukos

  • 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

Diegimas

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

DUK

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

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Taxonomy Meta UI” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

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