Hi athenanikolis
1. For this you need to create child theme.Reference Here forChild theme
2. Now after successfully creating and activating child theme you will find content.php file in main theme’s folder.
3. Now copy and paste that file in child theme folder.
4. Now you need to work in child theme folder.
5. Now in content.php in child theme you will see below part of code.
<?php the_content( __( 'Read More', 'thinker' ) ); ?>
6. Now change this to:
<?php
if(is_home() || is_front_page()){
the_excerpt();
}
else{
the_content( __( 'Read More', 'thinker' ) );
}
?>
7. This will pull excerpt of the content.Now if you need to change the length of the excerpt the you need to add below code in functions.php of child theme.
function custom_excerpt_length( $length ) {
return 20;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );
Hope this will solve your issue.
Best Regards!!!