Shorten excerpt

git-svn-id: https://develop.svn.wordpress.org/trunk@2262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-02-11 02:19:16 +00:00
parent 68c44682ba
commit 1f344fc951
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;