Shorten excerpt

git-svn-id: http://svn.automattic.com/wordpress/trunk@2262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-11 02:19:16 +00:00
parent 4ebdf7232c
commit c43b3244bd
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ function get_the_excerpt($fakeit = true) {
$output = $post->post_content; $output = $post->post_content;
$output = strip_tags($output); $output = strip_tags($output);
$blah = explode(' ', $output); $blah = explode(' ', $output);
$excerpt_length = 120; $excerpt_length = 70;
if (count($blah) > $excerpt_length) { if (count($blah) > $excerpt_length) {
$k = $excerpt_length; $k = $excerpt_length;
$use_dotdotdot = 1; $use_dotdotdot = 1;