Change the default WordPress excerpt Length

You can change the default WordPress excerpt by applying a code filter in your child theme, for example:

function my_custom_excerpt_length( $length ) {
    return 25;
add_filter( 'excerpt_length', 'my_custom_excerpt_length', 1000 );

For more information you can check WordPress website:

Essentials support team

Hey, this is pixfort support team, if you still need help you can always reach us via the chat messenger in your account on pixfort hub

Related Posts