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