You can create excerpt length filter to automate this process. Here is one example
function custom_excerpt_length( $length ) {
return 20;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Or read more about it here: http://codex.wordpress.org/Plugin_API/Filter_Reference/excerpt_length
Much simpler solution is to use add text manually in “Excerpt” field which you can find under each Post edit field. If this options is not there, you can enable it via “Screen Options” if it is not there by default.
This way WordPress will display the entire text as Excerpt no matter of its length. 1 word or entire post.
Thank you Silkalns,
I use only Pages and not Post, this functionnality provided by wordpress seems works only for Post.
Can I call the function from a Page and if yes, how ?
Didier
in fact I added your code at the end of the functions.php file of the theme and it works fine.
Thank you
Didier