ACF field content Trim with simple code
This below code will help you to limit the character of Advanced Custom Field.
<?php $trim_length = 140; //desired length of text to display $custom_field = 'field-name'; $value = get_post_meta($post->ID, $custom_field, true); if ($value) { if (strlen($value) > $trim_length) $value = rtrim(substr($value,0,$trim_length)) .'...'; echo $value; } ?>