Support

Account

Home Forums Front-end Issues Displaying Multiple Values from Custom Taxonomy Terms Reply To: Displaying Multiple Values from Custom Taxonomy Terms

  • This line

    $related = get_field('related_industries', $queried_object);

    Is returning an array of term ID values. If you want to show information about that the terms then you should set it to return Term Object then loop over the returned array to display what you want.

    
    if ($related) {
      foreach ($related as $term) {
        echo $term->name;
      }
    }