Support

Account

Home Forums General Issues Get slugs from selected taxonomy field Reply To: Get slugs from selected taxonomy field

  • Looks like your loop is broken;

    You have $term = get_field(), then foreach( $terms as $term );

    Should be

    $terms = get_field('department');