Support

Account

Home Forums General Issues Field group at taxonomy does not work Reply To: Field group at taxonomy does not work

  • @emcniece Thanks for the help the code did not work for me however your direction and the info on http://www.advancedcustomfields.com/resources/how-to/how-to-get-values-from-a-taxonomy-term/ lead me to the code that did work.

    
    <?php 
    $queried_object = get_queried_object(); 
    $field = get_field('style_id', $queried_object);
    echo '<pre>field: '.print_r( $field, true).'</pre>';
    ?>