800,000+ WordPress sites are already using MetaSlider!

How Do I Change The Excerpt Length For Post Feed Slides?

There are multiple ways to change the excerpt length in WordPress.

1. Plugins

The first option is to simply install one of these plugins.

2. Functions.php

The second option is to include the following code in your themes functions.php file.

function custom_excerpt_length( $length ) {
   return 30; // show 30 words
add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );

 3. Custom excerpts

The third option is to manually create your excerpts in WordPress. To do this, edit a post and go to ‘Screen Options’ at the top of the page. Check the ‘Excerpt’ box. You should now see a text area where you can enter a custom excerpt for your posts.