Support

Account

Home Forums General Issues Trying to display a category (taxonomy) field in the fronted Reply To: Trying to display a category (taxonomy) field in the fronted

  • Thanks again.

    Tried the 3 ways.. Doesn’t work. Echo nothing. πŸ™

    Here is code i tried for the first option (single object). I also attached a screenshot for the fiel settings in ACF.

    <?php
    $term = get_field(‘plan_type’);
    if( $term ): ?>
    <h2><?php echo esc_html( $term->name ); ?></h2>
    <p><?php echo esc_html( $term->description ); ?></p>
    <?php endif; ?>