Support

Account

Home Forums General Issues Portfolio Taxonomy: Names of Selcted Categories Under Custom Field Reply To: Portfolio Taxonomy: Names of Selcted Categories Under Custom Field

  • I’ve read all of your comments, but I may not understand what you’re looking for.

    I’m really not sure what you mean by “the linking option” in the pro version.

    You are using a taxonomy field and you want to output links to the terms that have been selected?

    If this is true then how you would code this depends on what you have the Return Value of the field set to. You would most likely be better off returning a term object.

    
    $terms = get_field('media');
    if ($terms) {
      foreach ($terms as $term) {
        ?>
          <a href="<?php echo get_term_link($term); ?>"><?php echo $term->name; ?></a>
        <?php 
      }  // end foreach
    } // end if