bbesemer
2/26/2018 - 8:15 PM

Limit character count of custom field

for ACF

$trimtitle = get_the_field();
$shorttitle = wp_trim_words( $trimtitle, $num_words = 4, $more = '… ' );