johannesress
1/27/2014 - 12:35 PM

Custom excerpt length

Custom excerpt length

//custom excerpt length
function wpfme_custom_excerpt_length( $length ) {
	//the amount of words to return
	return 20;
}
add_filter( 'excerpt_length', 'wpfme_custom_excerpt_length');