Support

Account

Home Forums ACF PRO Append and Prepend values Reply To: Append and Prepend values

  • i cant make it work 🙁

    here is what I’m using:

    <?php								if(get_field('job_field_area') ):
    $field_name = "job_field_area";
    	$field = get_field_object($field_name);
    	echo '<li class="list-item">';
    	echo '<div class="list-content">';
    	echo '<h3>'. $field['label'] . '</h3>';
    	echo '<div class="field-text">';
    	echo implode(', ', $field['value']);
    	foreach ($field['value'] as $value);
    	echo '</div>';
    	echo '</div>';
    	echo '</li>';
    	endif; 
    ?>

    and I’m getting just the label… eg.Job “Field Area” but no values for it.