Support

Account

Home Forums General Issues Taxonomy Term values from user profile Reply To: Taxonomy Term values from user profile

  • Hi @juxprose

    Because you have selected ‘Term Object’ as the return type, you are getting an object (just like you have chosen).

    This object can be seen clearly in your var_dump.

    Is there a problem that I am not seeing? Do you need help rending the object? This would work:

    
    <?php 
    
    $specialtopic = get_field('specialist_topic', 'user_' . $curauth->ID); 
    
    ?>
    <h3><?php echo $specialtopic->name; ?></h3>