WordPress.org

Support

Support » Plugins and Hacks » Advanced Custom Fields » [Plugin: Advanced Custom Fields] How to output taxonomy field?

[Plugin: Advanced Custom Fields] How to output taxonomy field?

Viewing 1 replies (of 1 total)
  • You should add the term id to the second parameter. It should look something like ‘machinecategory_34’ where 34 is the term_id.

    If you’re doing this in your archive/taxonomy page, you can do the following:

    echo get_field('machine_tax_description', 'machinecategory'.$wp_query->queried_object->term_id);

    This works for me 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Advanced Custom Fields] How to output taxonomy field?’ is closed to new replies.
Skip to toolbar