Home › Forums › Lite Version › How to Reduce the excerpt length in post › Reply To: How to Reduce the excerpt length in post
August 12, 2014 at 2:53 am
#835
Keymaster
Hi Wayne,
We use the except length as the default of wordpress. However, you can change the length by keeping this code in your functions.php
add_filter('excerpt_length', 'my_excerpt_length');
function my_excerpt_length($length) {
return 20; // Change 20 to your desire length
}
Hope this helps.
Thanks