Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Use the filter ‘mc_excerpt_length’ to apply a custom length to the excerpt. Default is 55 words.

    add_filter( 'mc_excerpt_length', 'my_custom_excerpt_length' );
    function my_custom_excerpt_length( $default ) {
       return 35;
    }
    Thread Starter Hadhops

    (@hadhops)

    Great, worked perfectly!

    Thanks for the support.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Excerpt length’ is closed to new replies.