WordPress Summary Loop with String Replace
A handy little loop to show a short summary and replace
// find out your post permalink
$perma_link = get_permalink( $post->ID );
// save original post content to variable
$content = get_the_content();
// prevent tags strip | it's a bug in WordPress!
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
// throw out trimmed: content to process, read more tag, post permalink, words length
echo trim_the_content( $content, ' ', $perma_link, 8 );
?>