WordPress Excerpt Length


The summary of WordPress posts is 55 characters by default. You can increase or decrease the character limit in the functions.php file.

How to Add Excerpt to Page?

the_excerpt(); the summary of the post page is added to the page with the function.


Increasing & Decreasing Text Summary Length

Add the following code to your WordPress theme’s functions.php file, the number after the return statement determines the character limit of the summary.

function custom_excerpt_length( $length ) {
return 70;

add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );