[matador_taxonomy]

options:

  • as – ‘list’,  ‘select’, ‘multiselect’, ‘dropdown’- default=listing
    • list – list of taxonomies
    • select- options select/drop-down with a list of taxonomies
    • multiselect – Multi-select version of a select dropdown
    • dropdown- alias of select
  • method – ‘link’, ‘filter’, ‘value’  – default= filter
    • link – on select redirects to URL
    • filter – on select reloads the current page with filter values set in URL query string, the [matador_jobs] shortcode and matador-jobs archive template looks for these filters.
    • value – has the taxonomy ID set as the value, no action
  • multi – true
    • true – when in filter mode this allows multiple terms to be selected
  • show_all_option – ‘after’, ‘after_if’, ‘before’, ‘before_if, ‘both, ‘both_if’, true, false – default= false
    Note: mainly used in the List version
    • after – always show a show all option at bottom of the list
    • after_if – show a show all option at the bottom of the list if a value from this taxonomy is set
    • before – always show a show all option at top of the list
    • before_if – always show a show all option at top of the list if a value from this taxonomy is set
    • both – always show a show all option at top and bottom of the list
    • both_if – always show a show all option at top and bottom of the list if a value from this taxonomy is set
    • true – always show a show all option top and bottom of the list
      Note: this the value to display “Show all” for the Select Option
    • false – do not show a link
  • tax – ‘category’, ‘type’, location’, ‘certification’, ‘skill’, ‘specialty’ which taxonomy to show – default = ‘category’
  • class – extra class added to the out wrapper

examples:

[matador_taxonomy tax=type method=filter multi=true]

[matador_taxonomy tax=location as=select method=filter show_all_option=true]
 
[matador_taxonomy tax=location as=filter show_all_option=true]

[matador_taxonomy tax=location as=list method=filter show_all_option=both_if] 
Was this article helpful?
Yes 0 No 0