Support

Account

Home Forums General Issues Let users add to select field choices Reply To: Let users add to select field choices

  • thanks!
    I now put this on one line in order to echo a part of an url:
    <?php $term = get_field('manufacturer'); if( $term ): ?><?php echo $term->name; ?><?php endif; ?>
    Is there any way to shorten the code any further? I just need the taxonomy name.
    for example, would it be a problem to pull the “if” statement out?

    Thanks a lot!