Changing Post Preview Length on Blog Page

Hey, I love the theme. I’m curious if there is anyway to change the amount of text that is shows in the post summary on the blog page.

I looked through the templates and loops but didn’t see where this was set anywhere.

Thanks

Dazzling theme uses the_excerpt which means that all excerpts are exactly 55 words in length.

You can create a filter via Child Theme or original theme functions.php file like this

function custom_excerpt_length( $length ) {
	return 30;
}
add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

This function sets excerpt length to 30 words but you can tweak that value.

You can also create excerpts manually for each post by adding your content to “Excerpt” field under Post area in Post Edit Screen. If you can’t see this field you can enable it via Screen Options that you can find on upper right corner in the same Post Edit Screen.

Hi! Where I can put this function? Wheres the best place in function.php? At the end?

Hi,

I have the same problem than Tofu but on sparkling theme and it seems that i cannot resolve it in the same way than he did.

Thank you for your help,

Tom