The following code only changed the length of the automatically generated excerpts. How do I apply these rules to change the length of my manual excerpts?
What do I need to do to the following code?
Any help would be appreciated, I've been trying to nut this one out for a while now.
function excerpt_length($length) {
if( is_home() && !in_category('featured') ) {
return 70;
} else {
return 40;
}
}
add_filter('excerpt_length', 'excerpt_length');