THAT WAS EASY:

Are you using WordPress Excerpts to display your blog posts and/or RSS Feed? If so, you may know excerpt length is by default limited to 55 characters. You can easily increase or decrease this limit by adding the following PHP code snippet to your WordPress theme’s functions.php file:

Excerpt Length

function excerptLength($length) {
        return 100;
}
add_filter('excerpt_length', 'excerptLength');

In the above example, I have adjusted the excerpt length to 100 characters. You can change this value to whatever suits your needs. In using this snippet, best practice is to add it to your child theme. If you do not, this change will get wiped out the next time you update WordPress.

Enjoy!

Share This