Support

Account

Home Forums Front-end Issues How to display terms with no link Reply To: How to display terms with no link

  • Hi James.
    I tried following code:

     <p>
         <?php $variable = get_field('variable', false, false); ?>
         <strong>Term</strong> <?php echo $variable; ?> </p>

    but I have no results

    If I try

    <p>
         <strong>Variable</strong> <?php the_terms($post->ID, 'variable' ); ?> </p>

    it works, but the term is displayed with a link
    Any suggest?