Home Forums Front-end Issues Display custom taxonomy name Reply To: Display custom taxonomy name

  • Thank you for your assistance. This is what I have now. The “Uncategorized” word is now gone, but the field is displaying blank. I’m missing something and just don’t know where.
    Modeling Type: <?php $modelingType = get_field('modeling_types'); $term = get_term($modelingType, $taxonomy = 'modeling_types'); echo esc_html($term->name); ?>

    This was the display before:Modeling Type: Uncategorized
    This is the display now: Modeling Type:

    Thank you!