Support

Account

Home › Forums › General Issues › Prepend/append text using acf field shortcode? › Reply To: Prepend/append text using acf field shortcode?

  • Can you not use conditional code like:

    
    $length = get_field('length');
    if( $length ):
      echo 'Length: '.$length.' cm';
    endif;
    

    Repeat for each field