How to Change the Expert Length in WP?

Just add below code in functions.php inside,

add_filter(‘excerpt_length’, ‘my_excerpt_length’);
function my_excerpt_length($length) {
return 25;
}

And change the return value “25” to “Your Value”.

Leave a Reply

© 2020 Spirituality