Field :: taxonomy

A field used for searching posts by specified terms in a given taxonomy.

Parameters

label
(string)
Default: None
format
(string) 'select', 'multi-select', 'checkbox', 'radio', 'text', 'hidden', 'number', 'color', 'url', 'email', 'tel', 'date', 'datetime', 'time', 'week'
Default: select
taxonomy
(string) Taxonomy slug (ie 'category', 'post_tag')
Default: category
term_format
(string) 'ID', 'slug', 'name'
Default: 'slug'
terms
(array) Array of term values, in the format specified by term_format (either ID, slug, or name)
Default: All terms belonging to the given taxonomy
operator
(string) 'IN', 'NOT IN', 'AND'
Default: AND
term_args
(array)
Default: array('hide_empty' => false )
nested
(boolean) true, false
Context: Controls whether to display taxonomy terms hierarchically
Default: false
default
(string)
Default: None