Reply To: How to Reduce the excerpt length in post

Home Forums Lite Version How to Reduce the excerpt length in post Reply To: How to Reduce the excerpt length in post

#835
Masonry Guy
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