pierrebalian
9/25/2017 - 5:42 PM

Trim the_excerpt(); add to functions.php

Trim the_excerpt();
add to functions.php

function custom_excerpt_length( $length ) {
	return 20;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );