wordpress shorten excerpt length code example
Example: wp change num words exerpct
function my_excerpt_length($length){
return 80;
}
add_filter(‘excerpt_length’, ‘my_excerpt_length’);
function my_excerpt_length($length){
return 80;
}
add_filter(‘excerpt_length’, ‘my_excerpt_length’);