Support

Account

Home Forums Front-end Issues Show 'prepend' text from number field Reply To: Show 'prepend' text from number field

  • do you mean the below code. There was an error that was explained by the following comment and it corrected here.

    
    $field_name = "job_field_area";
    $field = get_field_object($field_name);
    if ($field) {
      ?>
        <li class="list-item">
          <div lass="list-content">
            <h3><?php echo $field['label']; ?></h3>
            <?php echo implode(', ', wp_list_pluck($field['value'], 'name')); ?>
          </div>
        </li>
      <?php 
    }